Eclipse m2eclipse从本地存储库获取依赖 [英] Eclipse m2eclipse getting dependancies from local repository
本文介绍了Eclipse m2eclipse从本地存储库获取依赖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
我有同样的问题,这是对我有用使用Eclipse Indigo:
Windows->显示视图 - >其他
在弹出窗口中:
Maven-> Maven存储库
一旦显示视图,右键单击相应的repo,然后选择重建索引
等待几秒钟完成!
I have dependancies installed local on my machine (~/.m2/repository/blah/blah/blah) and m2eclipse is not recognizing them as there - I think m2eclipse is using its own maven instance. Is there any way to force m2eclipse to use the local maven installation in osx?
解决方案
I had the same problem, and this is what worked for me. Using Eclipse Indigo:
Windows->Show View->Other
In the pop-up: Maven->Maven Repositories
Once the view is displayed, right click on the appropriate repo, and select "Rebuild Index"
Wait a few seconds and done!
这篇关于Eclipse m2eclipse从本地存储库获取依赖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文