Lives in the UK. Likes blogging, cycling and eating lemon drizzle cake. Roger is a DZone MVB and is not an employee of DZone and has posted 142 posts at DZone. You can read more from them at their website. View Full User Profile

Searching Maven Central

10.01.2011
| 3699 views |
  • submit to reddit

It seems that no matter how much you read about software and how much you try and learn, you always seem to miss something pretty useful. I’ve been using Maven for at least three years and only found out a few weeks ago that you can search the Maven repository for artifacts... Duh! It seems the obvious thing to do, but if you’ve never seen something...

So this very small blog is just a reminder, firstly that the URL for the Maven repository search is http://mvnrepository.com/ and that you can never know everything, so keep learning.


As you can see from the screen shot, you just type in a keyword and get a list of possible matches... and clicking on a match and then a version number, you even get the POM file entry you need.


How cool’s that?

 

From http://www.captaindebug.com/2011/09/searching-maven-central.html
Published at DZone with permission of Roger Hughes, author and DZone MVB.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Christian Kaltepoth replied on Sun, 2011/10/02 - 2:25am

You could also have a look at the "official" Maven Central search engine here:

http://search.maven.org/

I for myself prefer it over mvnrepository.com, but I think that just a case of personal taste! :)

Sam Lewis replied on Sun, 2011/10/02 - 5:23am

I switched to jarvana.com because mvnrepository was slow at times: http://www.jarvana.com The ability to search by class can be useful.

Vinayak Borkar replied on Mon, 2011/10/03 - 12:07am

GrepCode (http://grepcode.com) provides source code search of Maven and OSGi repositories. In addition to searching projects and Java sources, it also provides a navigable source code browser like an IDE.

Neil Crow replied on Mon, 2011/10/03 - 2:07pm in response to: Vinayak Borkar

+1 for grepcode !

Albert Liptay replied on Tue, 2011/10/04 - 3:47pm

mvnrepository fills a need just nicely, been using it for years. Glad you finally found it.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.