Hi,

some time ago a user reported success [1] using a NTLM Authorization Proxy Server [2]. The link to the proxy doesn't seem to work anymore but there have to be others.

-Tim

[1] http://www.nabble.com/NTLM-Proxy-problems-tf1518291s177.html#a4126098
[2] http://apserver.sourceforge.net/

Sammpathkumar, C schrieb:
Hi All,

I am struggling with Maven to make I work with NTLM authentication in our office network.

I tried customizing settings.xml and giving the environment properties in commandline with details of the proxy. But I always get the below error:

Caused by: java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1160) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
        ... 23 more

In settings.xml, I have the below:
    <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>132.186.65.234</host>
      <port>8080</port>
      <username>in002/sc001179</username>
      <password>XXXXXX</password>
    </proxy>
  </proxies>
<<out.txt>>
Also tried with the below command:

mvn archetype:create -X -e -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.mycompany.app -DartifactId=my-app Dmaven.proxy.ntlm.host=132.186.67.239 -Dmaven.proxy.host=localhost -Dmaven.proxy.ntlm.domain=IN002 -Dmaven.proxy.port=9100 -Dmaven.proxy.username=sc001179 -Dmaven.proxy.password=XXXXXXX

Please help me to get out of this problem.

Thanks in advance,

Regards,
Sammpath

_Disclaimer:_
This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.


------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to