[ 
http://jira.codehaus.org/browse/MRELEASE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=269986#action_269986
 ] 

Martin Todorov commented on MRELEASE-569:
-----------------------------------------

This is not a bug. However, I do agree that this message should tell the user 
that their authentication settings are incorrect.
Here is a rather complete explanation of what is wrong and how to set things up 
properly:
http://www.sonatype.com/people/2010/11/what-to-do-when-nexus-returns-401/



> Inadequate explanation of "BUILD ERROR: .... Return Code is 401"
> ----------------------------------------------------------------
>
>                 Key: MRELEASE-569
>                 URL: http://jira.codehaus.org/browse/MRELEASE-569
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>            Reporter: Paul Hammant
>
> That this return code (and perhaps all return codes) are HTTP response codes 
> is not clear.
> I lack authority to the remote directory apparently.
>  [INFO] [deploy:deploy {execution: default-deploy}]
>     Uploading: 
> http://oss.sonatype.org/service/local/staging/deploy/maven2//javax/inject/javax.inject-tck/1/javax.inject-tck-1.jar
>     [INFO] 
> ------------------------------------------------------------------------
>     [ERROR] BUILD ERROR
>     [INFO] 
> ------------------------------------------------------------------------
>     [INFO] Error deploying artifact: Failed to transfer file: 
> http://oss.sonatype.org/service/local/staging/deploy/maven2/javax/inject/javax.inject-tck/1/javax.inject-tck-1.jar.
>  Return code is: 401

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to