You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Chris McIntosh (JIRA)" <ji...@codehaus.org> on 2012/08/31 21:47:21 UTC

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

Chris McIntosh created MDEPLOY-155:
--------------------------------------

             Summary: 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 2.x and 3.x Deploy Plugin
          Issue Type: Bug
            Reporter: Chris McIntosh


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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira