1
我想通過代理使用maven我讀了許多答案,說在.m2文件夾的settings.xml文件中寫入一些配置,但它不工作這是我的配置: 我酒莊的名字是:cgi.net.intra和 我的電腦是一個LDAP如何通過代理使用maven
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>ncproxy3</host>
<port>8080</port>
<username>gh40615</username>
<password>mypasseword</password>
<nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
</proxy>
</proxies>
</settings>
有人可以幫助我的一員? MERCI D'AVANCE
我會試試,謝謝 –