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

旧巷老猫 提交于 2019-12-02 18:52:38

The answer of @khmarbaise is straight and correct, but if you possibly want to search over few additional public Maven repos (like JBoss), not only Maven Central, I recommend using http://grepcode.com.

EDIT: Unfortunately it seems http://grepcode.com, I used to strongly recommend for such a stuff, is dead now. Currently I don't know a better place than https://search.maven.org, already answered by @khmarbaise.

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

I suggest to try all the search engines. Now I've lost hours thinking of how to upload an artifact, while it turned out to be already present in the repo. This is junit-addons, which is both groupId and artifactId, as can be verified in pom. My attempts:

  1. http://mvnrepository.com - no
  2. http://search.maven.org - yes
  3. http://grepcode.com - no
  4. http://jarfinder.com - yes, but only a direct download, not for maven

I am a maven newbie, so I cannot state that the second link is the best. Although tt was the only helpful in my case.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!