Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1401

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

     Status: Unassigned

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven

   Assignee: 
   Reporter: david hulme

    Created: Fri, 23 Jul 2004 7:20 PM
    Updated: Fri, 23 Jul 2004 7:20 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to