[ 
http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184348#action_184348
 ] 

John Casey commented on MNG-4228:
---------------------------------

Maven is using httpclient 3.x, NOT 4.x. The trick seems to be that we're not 
using NTCredentials, since (from what I can tell) there is no way to determine 
whether we're talking to an NTLM proxy or not. It may be worthwhile pursuing in 
future releases of Wagon, to allow the use of NTCredentials if a certain 
configuration flag is set, or a system property is set.

As for dropping in NTLMv2 support via jcifs or similar, I'm not sure how well 
that would work, since I'm guessing we'd have to have code that used it 
directly, which would mean that code was GPL'ed...

OTOH, the modifications I've made for Maven 2.2.1 should allow you to specify 
your own implementation of the HTTP wagon, and use that one instead of the 
built-in versions.

> [regression] Authorization failed: Not authorized by proxy.
> -----------------------------------------------------------
>
>                 Key: MNG-4228
>                 URL: http://jira.codehaus.org/browse/MNG-4228
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Artifacts and Repositories, Settings
>    Affects Versions: 2.2.0
>         Environment: Windows XP, java version "1.6.0_04"
>            Reporter: Marco Noto
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: NTLMV21.RAR, TestNTLMAuth.java
>
>
> I can not access any external repository using the version 2.2.0. If I go 
> back to 2.1.0 everything works properly. 
> For example:
> mvn -U eclipse:eclipse
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be 
> retrieved from repository: central due
>  to an error: Authorization failed: Not authorized by proxy.
> [INFO] Repository 'central' will be blacklisted

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to