一.配置D:\apache-maven-3.5.2\conf\settings.xml文件
<!-- 这里配置自己的maven本地仓库地址 -->
<localRepository>D:\maven_repository</localRepository>
<server>
<id>releases</id>
<username>admin</username>
<password>admin123</password>
</server>
<server>
<id>snapshots</id>
<username>admin</username>
<password>admin123</password>
</server>
</servers>
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
二.修改idea的setting配制