配置本地maven目录下config/setting.xml文件的本地仓库路径后

 <localRepository>E:\apache\maven_repository</localRepository>

需要在eclipse上关联maven,但当在show view里边的Maven Repositories视图Rebuild Index修改本地仓库地址索引时可能会出现0%然后Progress显示No operations to display at this time.修改失败。

maven插件rebuild index的时候0%不变,Progress显示No operations to display at this time.

此时可以在Windows->Preferences->Maven->User Settings更换setting.xml文件(maven文件夹/config/setting.xml)

maven插件rebuild index的时候0%不变,Progress显示No operations to display at this time.

maven插件rebuild index的时候0%不变,Progress显示No operations to display at this time.

maven插件rebuild index的时候0%不变,Progress显示No operations to display at this time.

更换setting.xml文件后保存并关闭会发现已经修改成功了!

maven插件rebuild index的时候0%不变,Progress显示No operations to display at this time.


相关文章: