开发者

Searching for maven artifacts directly form Eclipse

开发者 https://www.devze.com 2023-03-06 16:28 出处:网络
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 artifactfrom browser into pom.xml.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消