1. IDEA配置代理:
2. maven配置代理:
在maven中配置代理,主要配置編輯~/.m2/settings.xml文件的<proxies>
socks5類型:
<id>socks5</id>
<active>true</active>
<protocol>socks5</protocol>
<host>10.98.88.88</host>
<port>8081</port>
隔離內網的nexus
<nonProxyHosts>10.98.88.89*|32.*</nonProxyHosts>
</proxy>
http類型:
<id>http</id>
<active>true</active>
<protocol>http</protocol>
<host>10.98.88.88</host>
<port>8081</port>
<nonProxyHosts>10.98.88.89*|32.*</nonProxyHosts>
</proxy>