I would like to know if it is somehow possible to search for maven artifacts dire开发者_如何学运维ctly from m2eclipse plugin. Normaly i just use google and paste artifact from browser into pom.xml.
Is there any better way?
Addendum to the other answers: Activate Maven indexes by checking Window > Preferences > Maven > Download repository index updates on startup
. That way you will always find the latest versions of all the libraries in your configured repositories.
Yes. Right-click the pom.xml, select Maven > Add dependency
If you use the Eclipse POM editor, you will have a tab labelled "Dependencies" -- click on "Add" in there and you will be able to search for artifacts -- you will get a list of results and then select them to add as dependencies.
精彩评论