[
http://jira.codehaus.org/browse/MNG-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182952#action_182952
]
Jean-Marc Borer commented on MNG-4228:
--------------------------------------
The solution provided above is based on a patched version of httpclient v3.
If you look at the explanation on page
http://hc.apache.org/httpcomponents-client/ntlm.html concerning httpclient 4.x
it uses jcifs implementation for NTLMv2. However they will no longer support
the http part of jcifs according to their page
http://jcifs.samba.org/src/docs/ntlmhttpauth.html
I am puzzled here: apache recommends to use a lib that will no longer be
supported (at least the http part) and redirect to a commercial implementation
jespa http://www.ioplex.com/jespa.html. What sould we do? They don't even
explain how to use jespa in httpclient 4.x...
> 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
> 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