[ 
https://issues.apache.org/jira/browse/MSOURCES-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamas Cservenak updated MSOURCES-140:
-------------------------------------
    Description: 
By configuration maven-source-plugin is bound to verify phase.

When executing commands like mvn install deploy, which includes phase verify 2 
times, the build fails with error "We have duplicated artifacts attached." - it 
worked with 3.2.1

When just using mvn deploy it works. 

I know install and deploy together are redundant but in many build pipelines it 
is used that way and maven as such also allows the combination. 

Probably caused by MSOURCES-121

  was:
By configuration maven-source-plugin is bound to verify phase.

When executing commands like mvn install deploy, which includes phase verify 2 
times, the build fails with error "We have duplicated artifacts attached." - it 
worked with 3.2.1

When just using mvn deploy it works. 

I know install and deploy together are redundant but in many build pipelines it 
is used that way and maven as such also allows the combination. 

Probably caused by MSOURCE-121


> Build fails when using install deploy
> -------------------------------------
>
>                 Key: MSOURCES-140
>                 URL: https://issues.apache.org/jira/browse/MSOURCES-140
>             Project: Maven Source Plugin
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Joern
>            Priority: Minor
>
> By configuration maven-source-plugin is bound to verify phase.
> When executing commands like mvn install deploy, which includes phase verify 
> 2 times, the build fails with error "We have duplicated artifacts attached." 
> - it worked with 3.2.1
> When just using mvn deploy it works. 
> I know install and deploy together are redundant but in many build pipelines 
> it is used that way and maven as such also allows the combination. 
> Probably caused by MSOURCES-121



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to