【发布时间】:2014-06-25 16:25:53
【问题描述】:
我支持自动生成的代理。
我已将我的 settings.xml 配置为使用此代理,但它 还是不行。 Android SDK 与 与我设置的代理相同。
<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>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username></username>
<password></password>
<host>MY-PROXY-HOST-HERE</host>
<port>8080</port>
<nonProxyHosts></nonProxyHosts>
</proxy>
</proxies>
</settings>
我还能做些什么来让 maven 正常工作?
错误:
WARNING: NTLM authentication error: Credentials cannot be used for NTLM authenti
cation: org.apache.maven.wagon.providers.http.httpclient.auth.UsernamePasswordCr
edentials
如何获取我的 NTLM 身份验证凭据?
Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (http://repo.maven.apache.org/maven2): Not authorized by proxy , ReasonPhrase:Proxy Authorization Required.
这是输出消息。在我的 wpad.dat(我从中获取代理数据的地方)中,我没有指定的用户名和密码...
【问题讨论】:
-
, but it still doesn't work.是什么意思?错误信息?某种输出?