当我尝试使用mvn package
命令构建 maven 包时,它会尝试下载依赖项。在下载此依赖项时,我收到错误 NLTM authentication 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