How to search public Maven/Ivy repositories for a particular class?

Ivan picture Ivan · Apr 7, 2012 · Viewed 18.2k times · Source

There are web sites like http://mvnrepository.com/ letting to search for an "artifact" and giving a definition I can add to my project for a library to be downloaded automatically from a public repository.

But this particular example (mvnrepository.com) (the only working I know actually) is by-definition limited to "search by group, artifact or description" while I would like to search by a class full name. For example I'd like to enter org.apache.commons.lang.NotImplementedException to get <dependency org="commons-lang" name="commons-lang" rev="2.6"/> (or alike) as the answer. Is there a facility for this?

Answer

khmarbaise picture khmarbaise · Apr 7, 2012

If you like to search for Classes you should use http://search.maven.org and click on "Advanced search"...This is for Maven Central