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

Paul Hammant commented on MRELEASE-569:
---------------------------------------

I think the error message should say:

  Return code for HTTP operation is: 401

Or:

  Return code for HTTP operation is: 401.  Check HTTP status codes here 
http://www.w3.org/Protocols/HTTP/HTRESP.html

Instead of the following as it is vague:

  Return code is: 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