Hi all,

In Maven 3.0.4 and am seeing the following error when I try to release a 
project.


    [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ 
rpm-maven-plugin ---

    Uploading: 
http://myrepo/service/local/staging/deploy/maven2/org/codehaus/mojo/rpm-maven-plugin/2.1-alpha-2_NDS1/rpm-maven-plugin-2.1-alpha-2_NDS1.jar

    Uploading: 
http://myrepo/service/local/staging/deploy/maven2/org/codehaus/mojo/rpm-maven-plugin/2.1-alpha-2_NDS1/rpm-maven-plugin-2.1-alpha-2_NDS1.pom

    Aug 23, 2012 10:40:47 AM 
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
 handleResponse

    WARNING: Authentication error: basic authorization challenge expected, but 
not found

    [INFO] 
------------------------------------------------------------------------

    [INFO] BUILD FAILURE

    Aug 23, 2012 10:40:47 AM 
org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector
 handleResponse

    WARNING: Authentication error: basic authorization challenge expected, but 
not found

    [INFO] 
------------------------------------------------------------------------

    [INFO] Total time: 42.591s

    [INFO] Finished at: Thu Aug 23 10:40:47 BST 2012

    [INFO] Final Memory: 22M/602M

    [INFO] 
------------------------------------------------------------------------

    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on 
project rpm-maven-plugin: Failed to deploy artifacts: Could not transfer 
artifact org.codehaus.mojo:rpm-maven-plugin:jar:2.1-alpha-2_NDS1 from/to My 
Repository (http://myrepo/service/local/staging/deploy/maven2/): Failed to 
transfer file: 
http://myrepo/service/local/staging/deploy/maven2/org/codehaus/mojo/rpm-maven-plugin/2.1-alpha-2_NDS1/rpm-maven-plugin-2.1-alpha-2_NDS1.jar.
 Return code is: 401, ReasonPhrase:Unauthorized. -> [Help 1]


What I find strange is the reason for the failure is it didn't have an 
authorization challenge - yet the response code was 401 (un-authorised).

Anyone any ideas / workarounds?

Regards,

/James

________________________________


**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

Reply via email to