修改.m2文件夹位置
- .m2/settings.xml和conf/setting.xml都加一行
<localRepository>新路径\repository</localRepository>
- windows->preferences->maven->installations加上Maven路径
windows->preferences->maven->User Settings加上Maven setting.xml文件
Eclipse参考https://www.cnblogs.com/shihaiming/p/5803957.html