Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62581

Artifact resolver using http maven central

XMLWordPrintable

      Hi There,

      We are trying to download an artifact from the Nexus. At that time Jenkins is trying to download some of the artifacts from the Maven central repository. But it is failing with the below error. 

      Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact net.sourceforge.cobertura:cobertura-runtime:pom:2.1.1 from/to MavenCentral (http://repo1.maven.org/maven2): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/net/sourceforge/cobertura/cobertura-runtime/2.1.1/cobertura-runtime-2.1.1.pom
      

      http://repo1.maven.org/maven2 while accessing unsecured maven central URL it is redirecting to 501. This should be handled in the RepositoryConfiguration.java file. 

      https://links.sonatype.com/central/501-https-required

       

            jgangemi Jae Gangemi
            dhena_smile Dhinadhayalan parry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: