设置代理 <settings> ... <proxies> <proxy> <id>my-proxy</id> <active>true</active> <protocol>http</protocol> <host>192.168.10.117</host> <port>3267</port> <!-- <username>shihuan</username> <password>123456</password> <nonProxyHosts>repository.mycom.com|*.google.com</nonProxyHosts> --> </proxy> </proxies> ... </settings>
转载于:https://my.oschina.net/starryard/blog/878679