[ https://issues.apache.org/jira/browse/MDEPLOY-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965682#comment-17965682 ]
Olivier Lamy commented on MDEPLOY-155: -------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-deploy-plugin#232|https://github.com/apache/maven-deploy-plugin/issues/232]. > Return code is: 401, ReasonPhrase:Unauthorized. When running a mvn > deploy:deploy-file > ------------------------------------------------------------------------------------- > > Key: MDEPLOY-155 > URL: https://issues.apache.org/jira/browse/MDEPLOY-155 > Project: Maven Deploy Plugin (Moved to GitHub Issues) > Issue Type: Bug > Reporter: Chris McIntosh > Assignee: Robert Scholte > Priority: Major > > 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 was sent by Atlassian Jira (v8.20.10#820010)