Eclipse配置Maven

一、设置MAVEN路径

菜单 -> Window -> Preferences -> Maven -> Installations ->  指定

注意:把原来的那个低版本maven删除掉,如果有的话

二、设置仓库路径(仓库路径可以改到C盘以外的其他盘上)

菜单 -> Window -> Preferences -> Maven -> User Settings ->  Global Settings 和 User Settings都使用:

D:\apache-maven-3.6.3\conf\settings.xml

点击一下Reindex,确保Local Repository为你在settings.xml中设置好的仓库位置。

 

posted @ 2021-06-18 10:43  熊猫Panda先生  阅读(252)  评论(0编辑  收藏  举报