mvn 配置修改

 http://www.cnblogs.com/geektown/p/5705405.html

D:\javaInstall\apache-maven-3.3.9-bin\apache-maven-3.3.9\conf\settings.xml

54行:  <localRepository>D:\maven_repository</localRepository>

151行左右修改镜像,可以更快的下载jar包

<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>

============要建一个本地仓库

 

posted @ 2016-12-20 10:43  21heshang  阅读(163)  评论(0编辑  收藏  举报