You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2018/11/14 14:53:17 UTC

[1/2] activemq-artemis git commit: NO-JIRA Prevent maven-source-plugin being executed twice

Repository: activemq-artemis
Updated Branches:
  refs/heads/master ff2073a7e -> 54e9d67b9


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.


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/ee7cc82a
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/ee7cc82a
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/ee7cc82a

Branch: refs/heads/master
Commit: ee7cc82a4d8a5adb457e8816fc7fd7a49bad0349
Parents: ff2073a
Author: Sebastian Thomschke <se...@users.noreply.github.com>
Authored: Wed Nov 14 15:48:57 2018 +0100
Committer: Sebastian Thomschke <se...@users.noreply.github.com>
Committed: Wed Nov 14 15:48:57 2018 +0100

----------------------------------------------------------------------
 pom.xml | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/ee7cc82a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7acfe0d..87acfca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1403,8 +1403,9 @@
                <executions>
                   <execution>
                      <id>attach-sources</id>
+                     <phase>verify</phase>
                      <goals>
-                        <goal>jar</goal>
+                        <goal>jar-no-fork</goal>
                      </goals>
                   </execution>
                </executions>
@@ -1518,14 +1519,6 @@
          </plugin>
          <plugin>
             <artifactId>maven-source-plugin</artifactId>
-            <executions>
-               <execution>
-                  <phase>verify</phase>
-                  <goals>
-                     <goal>jar</goal>
-                  </goals>
-               </execution>
-            </executions>
          </plugin>
          <plugin>
             <groupId>org.apache.maven.plugins</groupId>


[2/2] activemq-artemis git commit: This closes #2431

Posted by cl...@apache.org.
This closes #2431


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/54e9d67b
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/54e9d67b
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/54e9d67b

Branch: refs/heads/master
Commit: 54e9d67b9a410d112b06bec7fb878f07bc98da8c
Parents: ff2073a ee7cc82
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Nov 14 09:52:44 2018 -0500
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Nov 14 09:52:44 2018 -0500

----------------------------------------------------------------------
 pom.xml | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)
----------------------------------------------------------------------