Can access maven repository from behind proxy, need help.
- by Digambar Daund
I am trying to access maven repository from behind proxy.
I configured settings.xml correctly (i guess so...)
true
http
username
password
12.34.56.78
8080
But still I am error message like...
if i dont 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