-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
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
- duplicates
-
JENKINS-60861 Default configuration to Maven Central without HTTPS no longer work
- Closed