m2Eclipse中的空目标列表 [英] Empty goals list in m2Eclipse
本文介绍了m2Eclipse中的空目标列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试添加目标时,我没有任何目标.有没有解决方案,或者我应该手动添加它们.但是在一个示例中,我看到它会自动列出所有可用目标.
When I try to add a goal I don't get any goals. Is there any solution or I should manually add them.But in an example I saw it automatically lists all the available goals.
推荐答案
The workaround described in m2eclipse JIRA worked for me: In Eclipse, open the view "Maven Repositories" and expand "Global Repositories". Right-click on your mirror of central (or "central" if no mirror defined) and select "Enable Full Index". Right-click again on the repository and select "Rebuild Index". Wait until "Updating indexes" finishes and vanishes from the Eclipse progress indicator in the lower right corner.
这篇关于m2Eclipse中的空目标列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文