配置maven项目,settings.xml的改变
<mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror>
在D:\apache-maven-3.5.0-bin\apache-maven-3.5.0\conf 位置下插入以上代码。(下载的地址,加载pom,xml中的依赖包时更快)