GitHub user sebthom opened a pull request: https://github.com/apache/activemq-artemis/pull/2431
NO-JIRA Prevent maven-source-plugin being executed twice With the current Maven config, the maven-source-plugin is executed twice, this results in the sources-jars being attached twice which leads the deploy goal in trying to upload the same sources jars twice to the repository. This slows down the build process and also fails on repositories that disallow updating of existing artifacts. Additionally the "jar" goal is now replaced with "jar-no-fork" which prevents the maven life cycle being executed twice too. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sebthom/activemq-artemis patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/2431.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2431 ---- commit 569afd29a7352d72d265fcce43d9340457426d99 Author: Sebastian Thomschke <sebthom@...> Date: 2018-11-14T14:42:36Z NO-JIRA Prevent maven-source-plugin being executed twice With the current Maven config, the maven-source-plugin is executed twice, this results in the sources-jars being attached twice which leads the deploy goal in trying to upload the same sources jars twice to the repository. This slows down the build process and also fails on repositories that disallow updating of existing artifacts. Additionally the "jar" goal is now replaced with "jar-no-fork" which prevents the maven life cycle being executed twice too. ---- ---