Maven works for me with an NTLM proxy. The general rule I learned is that 
whenever "username" is requested, supply "domainname\username" (this is 
true of any Java-based technology that interacts with proxies). I think 
that's what you're trying to do below, but you have a forward slash 
instead of backslash.

-Greg Vaughn

"Sammpathkumar, C" <[EMAIL PROTECTED]> wrote on 06/27/2007 04:15:36 
AM:

> 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>> 


======================================================================

Confidentiality Notice: The information contained in and transmitted with this 
communication is strictly confidential, is intended only for the use of the 
intended recipient, and is the property of Countrywide Financial Corporation or 
its affiliates and subsidiaries. If you are not the intended recipient, you are 
hereby notified that any use of the information contained in or transmitted 
with the communication or dissemination, distribution, or copying of this 
communication is strictly prohibited by law. If you have received this 
communication in error, please immediately return this communication to the 
sender and delete the original message and any copy of it in your possession.

======================================================================

Reply via email to