You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Nick Cross (Jira)" <ji...@apache.org> on 2021/07/03 06:35:00 UTC

[jira] [Commented] (MDEPLOY-244) maven deploy plugin 3.0.0-M1 breaks deploys when alt*DeploymentRepository properties are used

    [ https://issues.apache.org/jira/browse/MDEPLOY-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17373926#comment-17373926 ] 

Nick Cross commented on MDEPLOY-244:
------------------------------------

As we have projects that using both the earlier 2.x and the later 3.x syntax and we use a generic altDeploymentRepository we switched to using [https://github.com/rnc/alt-deploy-maven-extension] (full disclosure - I'm the author) to try and transparently handle it.

> maven deploy plugin 3.0.0-M1 breaks deploys when alt*DeploymentRepository properties are used
> ---------------------------------------------------------------------------------------------
>
>                 Key: MDEPLOY-244
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-244
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy-file
>    Affects Versions: 3.0.0-M1
>            Reporter: William So
>            Assignee: Karl Heinz Marbaise
>            Priority: Critical
>             Fix For: 3.0.0-M2
>
>         Attachments: project-pom.xml, root-pom.xml, test-maven-deploy.zip
>
>
> After upgrading to maven deploy plugin to 3.0.0-M1, our Maven Builds that uploads an RPM artifact broke.  All other artifacts, like zips, pom, jar, etc.. was able to upload without problems.    But as soon as the build tried to upload an RPM the upload threw an 401 Error:  
>  
> [Continue Pipeline] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) on project company-fancyname-atg-apptype-ibm-qa4: ArtifactDeployerException: Failed to deploy artifacts: Could not transfer artifact com.sephops.fancyname:company-fancyname-atg-apptype-ibm-qa4:rpm:ProjectName-20181001.061415-35 from/to company-snapshot-yum::default (http://artifactory.com/artifactory/company-snapshot-yum-local): Failed to transfer file: http://artifactory.com/artifactory/company-snapshot-yum-local/com/sephops/fancyname/company-fancyname-atg-apptype-ibm-qa4/ProjectName-SNAPSHOT/company-fancyname-atg-apptype-ibm-qa4-ProjectName-20181001.061415-35.rpm. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)