You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2013/08/10 20:03:46 UTC

svn commit: r1512810 - /webservices/axiom/trunk/pom.xml

Author: veithen
Date: Sat Aug 10 18:03:45 2013
New Revision: 1512810

URL: http://svn.apache.org/r1512810
Log:
Use source:jar-no-fork instead of source:jar.

Modified:
    webservices/axiom/trunk/pom.xml

Modified: webservices/axiom/trunk/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/pom.xml?rev=1512810&r1=1512809&r2=1512810&view=diff
==============================================================================
--- webservices/axiom/trunk/pom.xml (original)
+++ webservices/axiom/trunk/pom.xml Sat Aug 10 18:03:45 2013
@@ -614,12 +614,11 @@
                 <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>
+                            <!-- Use "jar-no-fork" instead of "jar" to avoid forking the build
+                                 (which is not a problem, but unnecessary) -->
+                            <goal>jar-no-fork</goal>
                         </goals>
                     </execution>
                 </executions>
@@ -679,6 +678,24 @@
             <build>
                 <plugins>
                     <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>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                                <configuration>
+                                    <skipSource>true</skipSource>
+                                </configuration>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <attach>true</attach>
+                        </configuration>
+                    </plugin>
+                    <plugin>
                         <groupId>org.apache.rat</groupId>
                         <artifactId>apache-rat-plugin</artifactId>
                         <version>0.8</version>