我在C盘下建了一个setting文件,下面是主要配置
<localRepository>E:\repositorys</localRepository>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>**</username>
<password>****</password>
<host>**</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>