Finding the right version of the right JAR in a maven repository

Posted by Matt McHenry on Stack Overflow See other posts from Stack Overflow or by Matt McHenry
Published on 2010-06-17T15:37:53Z Indexed on 2010/06/17 15:53 UTC
Read the original article Hit count: 252

Filed under:
|

I'm converting a build that has 71 .jar files in its global lib/ directory to use Maven. Of course, these have been pulled from the web by lots of developers over the past ten years of this project's history, and weren't always added to VCS with all the necessary version info, etc.

Is there an easy, automated way to go from that set of .jar files to the corresponding <dependency/> elements for use in my pom.xml files? I'm hoping for a web page where I can submit the checksum of a jar file and get back an XML snippet. The google hits for 'maven repository search' are basically just finding name-based searches. And http://repo1.maven.org/ has no search whatsoever, as far as I can see.

Update: GrepCode looks like it can find projects given an MD5 checksum. But it doesn't provide the particular details (groupId, artifactId) that Maven needs.

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about maven