1.下载
url:http://maven.apache.org/download.cgi
2.环境变量配置
MAVEN_HOME:D:mavenapache-maven-3.5.3
Path:%MAVEN_HOME%in;
3.测试
输入命令行:mvn -v
4.重新设置本地仓库
D:mavenapache-maven-3.5.3confsettings.xml 设置<localRepository>D:maven epository</localRepository>