> > 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.
It sounds like a distributed hash table of maven resources, in which most repository servers would participate, could be a nice solution to the search problem. However, I have no idea how difficult it can be to develop one. Kind regards, Mikhail Kalkov --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
