Quantcast

Corrupted jars from mvnrepository

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Corrupted jars from mvnrepository

deaddowney
I'm running into an issue where artifacts retrieved from mvnrepository.com are corrupted when pulled from Artifactory.  

e.g. for commons-dbcp, Artifactory lists the remote url as:
 http://mvnrepository.com/artifact/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar

If you actually go to this page, it's not the jar, but the page for the artifact, where you can download the jar

The actual jar is found at:
http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar

So, should I just get rid of mvnrepository as a remote repository in Artifactory?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Corrupted jars from mvnrepository

deaddowney
I got rid of mvnrepository.com and it seems to have fixed the problem.
Loading...