views:

206

answers:

3

How can I found the dependency by classname?

In particular, I want to include this class org.mortbay.jetty.testing.ServletTester in my project, how do I do that? And how did you find the answer?

+1  A: 

since version 6.1, Netbeans can add to pom.xml the dependency you need for a given class

dfa
good... **todo:** have a closer look at netbeans. however, I was looking for a more general answer.
flybywire
check also for maven indexing, eg http://repo1.maven.org/maven2/.index
dfa
+3  A: 
Rich Seller
is there any way to use this approach to search non-Nexus public repositories?
talk to frank
it works on any public repository that has a nexus index (most do). If you have your own Nexus server, you can set up a proxy repository for the public repo, then search that repo using its index
Rich Seller
A: 

Use http://www.jarvana.com/ or use Intellij IDEA

dAni