hi,

we're trying to move from Maven RC1 and RC3 to Maven 1.0 and we're having
proxy problems when downloading plugins. The proxy configuration I used to
use, specifically:

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

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)

(removed name of our repository to protect the innocent).


________________________________________________________________________

This e-mail message (including any attachment) is intended only for the personal 
use of the recipient(s) named above. This message is confidential and may be 
legally privileged.  If you are not an intended recipient, you may not review, copy or 
distribute this message. If you have received this communication in error, please 
notify 
us immediately by e-mail and delete the original message.

Any views or opinions expressed in this message are those of the author only. 
Furthermore, this message (including any attachment) does not create any legally 
binding rights or obligations whatsoever, which may only be created by the exchange 
of hard copy documents signed by a duly authorised representative of Hutchison 
3G UK Limited.
________________________________________________________________________


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to