1.下载maven到本地
2.编辑环境变量 MAVEN_HOME,path
MAVEN_HOME指向maven解压后的地址;path后添加 %MAVEN_HOME%\bin即可
3.编辑$MAVEN_HOME/conf/setting.xml文件,添加阿里云的mirror
nexus-aliyun
*
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public
自定义repository
E:/software/study-about/apache-maven-3.5.0-bin/apache-maven-3.5.0/m2
4.修改eclipse->preference->maven->installations,使用自定义的maven地址
5.设置user settings,使其指向自定义的setting位置
6.重启eclipse