You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2015/12/06 11:46:03 UTC

svn commit: r1718157 - /axis/axis2/java/rampart/trunk/pom.xml

Author: veithen
Date: Sun Dec  6 10:46:03 2015
New Revision: 1718157

URL: http://svn.apache.org/viewvc?rev=1718157&view=rev
Log:
Use jar-no-fork instead of jar to build source JARs.

Modified:
    axis/axis2/java/rampart/trunk/pom.xml

Modified: axis/axis2/java/rampart/trunk/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/pom.xml?rev=1718157&r1=1718156&r2=1718157&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/pom.xml (original)
+++ axis/axis2/java/rampart/trunk/pom.xml Sun Dec  6 10:46:03 2015
@@ -275,12 +275,9 @@
                 <artifactId>maven-source-plugin</artifactId>
                 <executions>
                     <execution>
-                        <!-- Use the same ID as in org.apache:apache; otherwise, the goal
-                             will be executed twice when the apache-release profile is
-                             activated -->
-                        <id>attach-sources</id>
+                        <id>source-jars</id>
                         <goals>
-                            <goal>jar</goal>
+                            <goal>jar-no-fork</goal>
                         </goals>
                     </execution>
                 </executions>
@@ -483,6 +480,19 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <!-- Skip the execution configured in org.apache:apache. We use our own configuration. -->
+                                <id>attach-sources</id>
+                                <phase>none</phase>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>