Skip to content

[MSOURCES-140] Build fails when using install deploy #212

@jira-importer

Description

@jira-importer

Joern opened MSOURCES-140 and commented

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


Affects: 3.3.0

Issue Links:

  • MSOURCES-121 Check for duplicated addition of the same file
    ("is caused by")

  • MSOURCES-141 Check duplication of attached jar should be configurable to not fail when using the build cache

  • MSOURCES-143 Can't create a source and test jar in Commons using commons-parent

Remote Links:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:minorMinor loss of function, or other problem where easy workaround is present

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions