I recently installed Maven at a client site that had a NTLM proxy, and ran into issues because it was failing to download maven dependencies. I was following the instructions provided by Maven to correctly setup my proxy settings, without any luck!
I kept getting the following error when attempting to run
mvn install goal to set up the project:
C:Dev\MavenTest> mvn clean install
[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifa
escriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-pl
:pom:2.4.1 from/to central (http://repo.maven.apache.org/maven2): Not authorized by proxy, ReasonPhrase:Proxy Authentication Required (
ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ). -> [Help 1]
After few hours of Googling and trial and error, I finally found two methods of getting Maven to work with NTLM proxies.