Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPPLUGIN-25
    Summary: NTLM Proxy Problem
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-plugin-plugin
   Versions:
             1.5

   Assignee: dion gillard
   Reporter: Jamie McCrindle

    Created: Tue, 20 Jul 2004 8:55 AM
    Updated: Tue, 20 Jul 2004 8:55 AM
Environment: Windows 2000, JSDK 1.3.1_06 and JSDK 1.4.2_02, Maven 1.0, Maven Plugin 
Plugin 1.5.1

Description:
Using the following proxy configuration:

maven.proxy.host=myProxyHost
maven.proxy.port=myProxyPort
maven.proxy.username=myUserName
maven.proxy.password=myPassword
maven.proxy.ntlm.host=myNtlmHost
maven.proxy.ntlm.domain=myDomain

Downloading jars works just fine but when I try to download a plugin e.g:

maven -X -DartifactId=maven-jblanket-plugin -DgroupId=jblanket -Dversion=1.0.0503

I get the following:

plugin:download-artifact:
    [echo] repo is 'http://.../repository'
    [echo] trying to download 
http://.../jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
Getting URL: http://.../repository/jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
Credentials cannot be used for NTLM authentication: 
org.apache.commons.httpclient.UsernamePasswordCredentials
Received status code: 407
    [echo] repo is 'http://www.ibiblio.org/maven'
    [echo] trying to download 
http://www.ibiblio.org/maven/jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
Getting URL: 
http://www.ibiblio.org/maven/jblanket/plugins/maven-jblanket-plugin-1.0.0503.jar
Credentials cannot be used for NTLM authentication: 
org.apache.commons.httpclient.UsernamePasswordCredentials
Received status code: 407

(this is the case where it is in ibiblio).
(removed name of our repository to protect the innocent).

or maven -X -DartifactId=maven-xdoclet-plugin -DgroupId=xdoclet -Dversion=1.2 
plugin:download

plugin:download-artifact:
    [echo] repo is 'http://.../repository'
    [echo] trying to download 
http://.../repository/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
Getting URL: http://.../repository/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
Credentials cannot be used for NTLM authentication: 
org.apache.commons.httpclient.UsernamePasswordCredentials
Received status code: 407
    [echo] repo is 'http://www.ibiblio.org/maven'
    [echo] trying to download 
http://www.ibiblio.org/maven/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
Getting URL: http://www.ibiblio.org/maven/xdoclet/plugins/maven-xdoclet-plugin-1.2.jar
Credentials cannot be used for NTLM authentication: 
org.apache.commons.httpclient.UsernamePasswordCredentials
Received status code: 407

(this is the case where it's in our local repo but we can't selectively turn off the 
proxy)

My initial investigation indicates that it could be that:

          <j:invokeStatic var="dummy" method="getFile" 
            className="org.apache.maven.util.HttpUtils">
            <j:arg type="java.lang.String" value="${remoteFile}" />
            <j:arg type="java.io.File" value="${localPluginFile}"/>
            <j:arg type="boolean" value="false"/>
            <j:arg type="boolean" value="true"/>
            <j:arg type="java.lang.String" value="${maven.proxy.host}" />
            <j:arg type="java.lang.String" value="${maven.proxy.port}" />
            <j:arg type="java.lang.String" value="${maven.proxy.username}" />
            <j:arg type="java.lang.String" value="${maven.proxy.password}" />
            <j:arg type="boolean" value="false"/>
          </j:invokeStatic>

in plugin.jelly doesn't allow for passing the maven.proxy.ntlm.host/domain into the 
HttpUtils.getFile method.



---------------------------------------------------------------------
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