Maven 中央仓库配置

 

 

C:\Users\AsapRun\.m2\settings.xml

F:\apache-maven-3.5.0\conf\settings.xml

代理设置

<proxy>
<id>http</id>
<active>true</active>
<protocol>http</protocol>
<host>127.0.0.1</host>
<port>8080</port>
</proxy>

阿里云仓库设置

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

posted @ 2018-02-24 10:45  AsapRun  阅读(72)  评论(0)    收藏  举报