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.
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.