1、先打开maven修改settings.xml文件

maven修改本次仓库(Eclipse)

 

修改语句(例如我的是在E盘ssh_maven的repository):<localRepository>E:\ssh_maven\repository</localRepository>

maven修改本次仓库(Eclipse)

 

2、修改eclipse下的配置

Window->Preferences->Maven->User Settings

maven修改本次仓库(Eclipse)

相关文章: