You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2019/01/25 09:29:00 UTC
[jira] [Created] (BIGTOP-3147) Nexus proxy cache configuration is
broken
Evans Ye created BIGTOP-3147:
--------------------------------
Summary: Nexus proxy cache configuration is broken
Key: BIGTOP-3147
URL: https://issues.apache.org/jira/browse/BIGTOP-3147
Project: Bigtop
Issue Type: Sub-task
Reporter: Evans Ye
To utilize nexus proxy to cache maven artifacts,
1. docker run -d -p 8081:8081 --name nexus sonatype/nexus:oss
2. ./gradlew configure-nexus
3. ./gradlew XXX-pkg # to build XXX package with nexus cache
However, configure-nexus failed silently:
{code}
curl -o /dev/null -X POST -d @/tmp/temp6599511731001671196.tmp --header Content-Type: application/json -u admin:admin123 http://localhost:8081/nexus/service/local/repositories
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: application; Unknown error
<html>
<head>
<title>404 - Not Found</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="icon" type="image/png" href="http://localhost:8081/nexus/favicon.png">
<!--[if IE]>
<link rel="SHORTCUT ICON" href="http://localhost:8081/nexus/favicon.ico"/>
<![endif]-->
<link rel="stylesheet" href="http://localhost:8081/nexus/static/css/Sonatype-content.css?2.14.10-01" type="text/css" media="screen" title="no title" charset="utf-8">
</head>
<body>
<h1>404 - Not Found</h1>
<p>Repository Not Found</p>
</body>
</html>*strong text*
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)