Can access maven repository from behind proxy, need help

maven-2, proxy

Solution

Is it a NTLM proxy? If yes, try to supply `domainname\username` for the `username` (as suggested in this thread).

<username>DOMAINNAME\USERNAME</username>

Problem

I am trying to access maven repository from behind proxy. I configured settings.xml correctly (i guess so...) ``` <proxies> <proxy> <active>true</active> <protocol>http</protocol> <username>username</username> <password>password</password> <host>12.34.56.78</host> <port>8080</port> </proxy> </proxies> ``` But still I am getting an error message like... if i don't configure userid/password gets correct error message which is HTTP response code `407` - saying authentication required. But If I configure correct/incorrect proxy authentication it always prints below error message.... ``` Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error trans ferring file: Server redirected too many times (20) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error trans ferring file: Server redirected too many times (20) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR ```

Original source

Related problems