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

William So commented on MDEPLOY-244:
------------------------------------

JDK Version:  1.8.0_181

Maven Version:  3.3.9

Tested on plain Command line and from Jenkins,  both caused the issue.  

RPM built using:  RPM Maven Plugin

Sample project  TBD, i will need to recreate a generic one since I can't share 
the one i have.  

> maven deploy plugin 3.0.0-M1 breaks RPM deploys
> -----------------------------------------------
>
>                 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
>            Priority: Critical
>
> 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
(v7.6.3#76005)

Reply via email to