You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/08/15 21:18:51 UTC

[jira] Closed: (MPPLUGIN-27) plugin:download fails with "credentials cannot be used for NTLM authentication"

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPPLUGIN-27

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPPLUGIN-27
    Summary: plugin:download fails with "credentials cannot be used for NTLM authentication"
       Type: Bug

     Status: Closed
 Resolution: DUPLICATE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-plugin-plugin

   Assignee: 
   Reporter: david hulme

    Created: Fri, 23 Jul 2004 7:20 PM
    Updated: Sun, 15 Aug 2004 3:18 PM

Description:

Using maven 1.0 behind a proxy, downloading jars (artifacts) works OK, but downloading plugins fails.
 
I've defined every proxy variable I can find documented:
  maven.proxy.host=server
  maven.proxy.port=port
  maven.proxy.username=userid
  maven.proxy.password=password
  maven.proxy.loginHost=<same as maven.proxy.host>
  maven.proxy.loginDomain=<same as maven.proxy.port>
  maven.proxy.ntlm.host=<same as maven.proxy.host>
  maven.proxy.ntlm.domain=domain-name

Like I said, maven works ok when downloading jars.
But fails with NTLM error if do a build that has plugin dependencies, or if I enter something like:

maven <proxy_definitions> -DgroupId=avalon-util -DartifactId=avalon-util-plugin -Dversion=1.0.0 plugin:download

Errors:
plugin:download-artifact:
    [echo] repo is 'http://www.apache.org/dist/java-repository'
    [echo] trying to download http://www.apache.org/dist/java-repository/avalon-util/plugins/avalon-util-plugin-1.0.0.jar
Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials
    [echo] repo is 'http://www.ibiblio.org/maven'
    [echo] trying to download http://www.ibiblio.org/maven/avalon-util/plugins/avalon-util-plugin-1.0.0.jar
Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials
    [echo] repo is 'http://dist.codehaus.org'
    [echo] trying to download http://dist.codehaus.org/avalon-util/plugins/avalon-util-plugin-1.0.0.jar
Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org