1. IDEA配置代理:

idea & maven配置代理(没用)

 

 

 

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>

相关文章:

  • 2021-07-13
  • 2021-11-17
  • 2021-10-24
  • 2021-04-02
  • 2021-08-29
猜你喜欢
  • 2021-06-10
  • 2022-02-07
  • 2022-12-23
  • 2022-01-02
  • 2021-12-30
  • 2021-04-09
相关资源
相似解决方案