当我尝试使用mvn package
命令构建maven包时,它会尝试下载依赖项。下载此依赖项时,我得到错误NLTM身份验证faliure。我还更新了代理设置的maven设置文件。
错误:
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven- resources-plugin/2.3/maven-resources-plugin-2.3.pom
May 24, 2013 10:10:01 AM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
INFO: ntlm authentication scheme selected
May 24, 2013 10:10:01 AM org.apache.commons.httpclient.HttpMethodDirector authenticate
SEVERE: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials