Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      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:

      $ curl -X POST -d @/tmp/temp6599511731001671196.tmp --header "Content-Type: application/json" -u admin:admin123 http://localhost:8081/service/local/repositories
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
      <title>Error 404 Not Found</title>
      </head>
      <body>
      <h2>HTTP ERROR: 404</h2>
      <p>Problem accessing /service/local/repositories. Reason:
      <pre>    Not Found</pre></p>
      <hr /><i><small>Powered by Jetty://</small></i>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      </body>
      </html>
      

        Attachments

          Activity

            People

            • Assignee:
              oflebbe Olaf Flebbe
              Reporter:
              evans_ye Evans Ye
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: