IDEA & MAVEN配置代理

隐身守侯 提交于 2019-12-01 10:03:41

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>

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!