Author: veithen
Date: Sat Jun 12 10:56:09 2010
New Revision: 953987

URL: http://svn.apache.org/viewvc?rev=953987&view=rev
Log:
Make sure that the apache-release profile executes the source:jar goal only 
once. Also remove the maven-source-plugin from the root POM, where it is not 
necessary.

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml
    webservices/commons/trunk/modules/axiom/pom.xml

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml?rev=953987&r1=953986&r2=953987&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml 
(original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-parent/pom.xml Sat 
Jun 12 10:56:09 2010
@@ -290,6 +290,10 @@
                 <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>
                         <goals>
                             <goal>jar</goal>
                         </goals>

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=953987&r1=953986&r2=953987&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Sat Jun 12 10:56:09 2010
@@ -402,19 +402,6 @@
                 <artifactId>maven-assembly-plugin</artifactId>
             </plugin>
             <plugin>
-                <artifactId>maven-source-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>jar</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <attach>true</attach>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>com.agilejava.docbkx</groupId>
                 <artifactId>docbkx-maven-plugin</artifactId>
                 <version>2.0.8</version>


Reply via email to