Skip to content

[MSOURCES-143] Can't create a source and test jar in Commons using commons-parent #205

@jira-importer

Description

@jira-importer

Gary D. Gregory opened MSOURCES-143 and commented

Steps to reproduce:

  1. git clone https://gitbox.apache.org/repos/asf/commons-parent.git
  2. cd commons-parent
  3. git checkout 8d886ce8382f7a79f06d51a3afc386b8a37d0473
  4. mvn clean install
  5. cd ..
  6. git clone https://gitbox.apache.org/repos/asf/commons-cli.git
  7. cd commons-cli
  8. git checkout 08f8c5034a8492be6db65b2086341c292489ee53
  9. mvn clean package

[INFO] --- source:3.3.0:jar-no-fork (create-source-jar) @ commons-cli ---
[ERROR] We have duplicated artifacts attached.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.233 s
[INFO] Finished at: 2023-08-15T15:39:45-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:3.3.0:jar-no-fork (create-source-jar) on project commons-cli: Presumably you have configured maven-source-plugn to execute twice times in your build. You have to configure a classifier for at least on of them. -> [Help 1]


Affects: 3.3.0

Issue Links:

  • MSOURCES-121 Check for duplicated addition of the same file
    ("is caused by")
  • MSOURCES-140 Build fails when using install deploy

4 votes, 9 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions