You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2013/09/10 21:05:52 UTC

[jira] (MDEPLOY-155) Return code is: 401, ReasonPhrase:Unauthorized. When running a mvn deploy:deploy-file

     [ https://jira.codehaus.org/browse/MDEPLOY-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MDEPLOY-155.
----------------------------------

    Resolution: Cannot Reproduce
      Assignee: Robert Scholte

If you get a 401, you either tried to access with the wrong credentials or you don't have the role to deploy.
                
> Return code is: 401, ReasonPhrase:Unauthorized. When running a mvn deploy:deploy-file
> -------------------------------------------------------------------------------------
>
>                 Key: MDEPLOY-155
>                 URL: https://jira.codehaus.org/browse/MDEPLOY-155
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>            Reporter: Chris McIntosh
>            Assignee: Robert Scholte
>
> When attempting to deploy a file to a protected nexus repository, we get an http 401 unauthorized exception.
> Plaintext username and password are stored in the settings.xml file.
> mvn deploy works fine, along with a curl to deploy the file.
> See http://stackoverflow.com/questions/12187483/how-to-deploy-an-arbitrary-binary-to-nexus-with-maven for sample commands.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira