You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Umberto Dissenha Junior <di...@gmail.com> on 2006/06/12 22:56:34 UTC
maven-proxy problem - NTLM
Hi,
The maven-proxy console report the following error while maven start
download from central repository:
-----------------------
2006-06-12 17:20:13,189 [WARN ] commons.httpclient.HttpMethodBase -
Credentials
cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernameP
asswordCredentials
2006-06-12 17:20:13,189 [INFO ] proxy.config.HttpRepoConfiguration -
Repo[dist-
codehaus-org]: Unable to find
http://dist.codehaus.org/commons-collections/commo
ns-collections/2.1/commons-collections-2.1.jar because of [407] = Proxy
Authenti
cation Required ( The ISA Server requires authorization to fulfill the
request.
Access to the Web Proxy service is denied. )
2006-06-12 17:20:13,189 [INFO ] components.impl.DefaultSnapshotCache -
Adding /
commons-collections/commons-collections/2.1/commons-collections-2.1.jar to
snaps
hot cache
-----------------------------------
My maven-proxy.properties:
proxy.one.host=host
proxy.one.port=8080
proxy.one.username=user
proxy.one.password=pass
Anyone knows what happend???
Regards
Umberto
Re: maven-proxy problem - NTLM
Posted by John Allen <jo...@hotmail.com>.
Commons HttpClient does indeed support NTLM authentication, I submitted a
patch to maven-proxy some time ago that enabled this functionality:
http://jira.codehaus.org/browse/MAVENPROXY-42
----- Original Message -----
From: "Wayne Fay" <wa...@gmail.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Monday, June 12, 2006 10:29 PM
Subject: Re: maven-proxy problem - NTLM
> Your statement "what happened" would imply that this worked in the
> past but does not any more... Is this the case, or are you configuring
> this proxy for the first time?
>
> Assuming this is your first attempt at configuring the proxy, please
> first realize that Commons HttpClient (and thus, Maven) does not
> support NTLM proxies. Unless something has changed recently, you will
> not be able to use Maven2 (or Maven Proxy) through this NTLM web
> proxy.
>
> Wayne
>
> On 6/12/06, Umberto Dissenha Junior <di...@gmail.com> wrote:
>> Hi,
>>
>> The maven-proxy console report the following error while maven start
>> download from central repository:
>>
>> -----------------------
>> 2006-06-12 17:20:13,189 [WARN ] commons.httpclient.HttpMethodBase -
>> Credentials
>> cannot be used for NTLM authentication:
>> org.apache.commons.httpclient.UsernameP
>> asswordCredentials
>> 2006-06-12 17:20:13,189 [INFO ] proxy.config.HttpRepoConfiguration -
>> Repo[dist-
>> codehaus-org]: Unable to find
>> http://dist.codehaus.org/commons-collections/commo
>> ns-collections/2.1/commons-collections-2.1.jar because of [407] = Proxy
>> Authenti
>> cation Required ( The ISA Server requires authorization to fulfill the
>> request.
>> Access to the Web Proxy service is denied. )
>> 2006-06-12 17:20:13,189 [INFO ] components.impl.DefaultSnapshotCache -
>> Adding /
>> commons-collections/commons-collections/2.1/commons-collections-2.1.jar
>> to
>> snaps
>> hot cache
>> -----------------------------------
>>
>> My maven-proxy.properties:
>>
>> proxy.one.host=host
>> proxy.one.port=8080
>> proxy.one.username=user
>> proxy.one.password=pass
>>
>> Anyone knows what happend???
>>
>> Regards
>>
>> Umberto
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven-proxy problem - NTLM
Posted by Wayne Fay <wa...@gmail.com>.
Your statement "what happened" would imply that this worked in the
past but does not any more... Is this the case, or are you configuring
this proxy for the first time?
Assuming this is your first attempt at configuring the proxy, please
first realize that Commons HttpClient (and thus, Maven) does not
support NTLM proxies. Unless something has changed recently, you will
not be able to use Maven2 (or Maven Proxy) through this NTLM web
proxy.
Wayne
On 6/12/06, Umberto Dissenha Junior <di...@gmail.com> wrote:
> Hi,
>
> The maven-proxy console report the following error while maven start
> download from central repository:
>
> -----------------------
> 2006-06-12 17:20:13,189 [WARN ] commons.httpclient.HttpMethodBase -
> Credentials
> cannot be used for NTLM authentication:
> org.apache.commons.httpclient.UsernameP
> asswordCredentials
> 2006-06-12 17:20:13,189 [INFO ] proxy.config.HttpRepoConfiguration -
> Repo[dist-
> codehaus-org]: Unable to find
> http://dist.codehaus.org/commons-collections/commo
> ns-collections/2.1/commons-collections-2.1.jar because of [407] = Proxy
> Authenti
> cation Required ( The ISA Server requires authorization to fulfill the
> request.
> Access to the Web Proxy service is denied. )
> 2006-06-12 17:20:13,189 [INFO ] components.impl.DefaultSnapshotCache -
> Adding /
> commons-collections/commons-collections/2.1/commons-collections-2.1.jar to
> snaps
> hot cache
> -----------------------------------
>
> My maven-proxy.properties:
>
> proxy.one.host=host
> proxy.one.port=8080
> proxy.one.username=user
> proxy.one.password=pass
>
> Anyone knows what happend???
>
> Regards
>
> Umberto
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org