On Tue, Nov 27, 2012 at 8:43 AM, daniel echalar <[email protected]> wrote:

> To add a dependency to my pom.xml, usually, I google the artifact, class,
> jar and then go to http://mvnrepository.com and try luck by searching key
> words, however sometimes it takes too much time, or I get stuck.
> So the question is, is there any formal/structured procedure to find
> dependencies in maven?
>

Nope; that's pretty much what you do (trial, error, guesswork).  Free stuff
is usually in "Maven central", which is slang for "the great central Maven
repository in the sky".  You can search it more directly via
search.maven.org.

As another poster I think mentioned, not all software is available in Maven
central.  This of course begs the question: OK, so, fine, where is it?

There is no sort of discovery protocol or federation of Maven repositories
(i.e. there's not really a way to bring a Maven repository up for, say,
your company, and have it somehow join some hypothetical global set of
Maven repositories).  So you Just Have To Know what other repositories you
will need to check.

Hope that helps!

Best,
Laird

-- 
http://about.me/lairdnelson

Reply via email to