You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sammpathkumar C <sa...@gmail.com> on 2007/07/03 09:09:51 UTC
Re: Maven with NTLM
Hi Greg Vaughn,
YES YES YES. I DID IT AGAIN :-(
It was because of the slash problem. Thanks a lot for your help.
Thanks for all who tried to help.
Yoav Landman, I'll try with Artifactory little later.
Thanks and Regards,
Sammpath
On 6/27/07, Greg_Vaughn@countrywide.com <Gr...@countrywide.com> wrote:
>
> 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" <sa...@nsn.com> 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.
>
> ======================================================================
>
>
--
Regards,
Sammpath
Re: Maven with NTLM
Posted by Antonio Petrelli <an...@gmail.com>.
2007/7/3, Sammpathkumar C <sa...@gmail.com>:
>
> Hi Greg Vaughn,
>
> YES YES YES. I DID IT AGAIN :-(
> It was because of the slash problem. Thanks a lot for your help.
> Thanks for all who tried to help.
> Yoav Landman, I'll try with Artifactory little later.
Just another drop in the pond, see:
http://docs.codehaus.org/display/MAVENUSER/Configuring+Maven+behind+an+NTLM+proxy
Antonio