Can access maven repository from behind proxy, need help -


I'm trying to access the Maven repository from the back of the proxy. Xml properly configured (I think ...)

  & lt; Proxy & gt; & Lt; Proxy & gt; & Lt; Active & gt; True & lt; / Active & gt; & Lt; Protocol & gt; Http & lt; / Protocol & gt; & Lt; Username & gt; Username & lt; / Username & gt; & Lt; Password & gt; Password & lt; / Password & gt; & Lt; Host & gt; 12.34.56.78 & lt; / Host & gt; & Lt; Harbor & gt; 8080 & lt; / Port & gt; & Lt; / Proxy & gt; & Lt; / Proxy & gt;  

But still I'm getting an error message like ... if I do not configure the user id / password then the correct error message is the HTTP response code 407 < / Code> - Authentication is required, but if I configure correct / incorrect proxy authentication, it always prints under an error message ....

 Downloading: http: // repo1. Maven.org/maven2/org/apache/maven/plugins/maven-cleared-plugin/22/Megan-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): File Transfer Error in: The server is being redirected several times (20): 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): transfer file Error in doing: server redirected multiple times (20) [INFO] ------------------------------- ------------- ---------------------------- [Error] Build error 

Is this an NTLM proxy? If yes, then try supplying usernames for the domain name (as suggested).

  & lt; Username & gt; DOMAINNAME \ USERNAME & lt; / Username & gt;  

Comments