Author: veithen
Date: Wed Aug 18 21:13:43 2010
New Revision: 986944

URL: http://svn.apache.org/viewvc?rev=986944&view=rev
Log:
Attempt to find the right configuration for the maven-release-plugin.

Modified:
    axis/axis2/java/core/branches/java/1_5/pom.xml

Modified: axis/axis2/java/core/branches/java/1_5/pom.xml
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/branches/java/1_5/pom.xml?rev=986944&r1=986943&r2=986944&view=diff
==============================================================================
--- axis/axis2/java/core/branches/java/1_5/pom.xml (original)
+++ axis/axis2/java/core/branches/java/1_5/pom.xml Wed Aug 18 21:13:43 2010
@@ -102,6 +102,19 @@
             </modules>
         </profile>
         <profile>
+            <!-- This profile needs to be activated when doing the 
release:prepare
+                 (by adding -Peverything) to make sure that the release plugin 
updates
+                 the version numbers of all relevant submodules. It must 
contain
+                 all modules not built by default, i.e. the set of modules used
+                 by this profile must be the union of the module sets of all
+                 other profiles. -->
+            <id>everything</id>
+            <modules>
+                <module>modules/documentation</module>
+                <module>modules/distribution</module>
+            </modules>
+        </profile>
+        <profile>
             <id>apache-release</id>
             <modules>
                 <module>modules/distribution</module>
@@ -430,6 +443,14 @@
                     <artifactId>maven-gpg-plugin</artifactId>
                     <version>1.1</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-release-plugin</artifactId>
+                    <version>2.0</version>
+                    <configuration>
+                        <autoVersionSubmodules>true</autoVersionSubmodules>
+                    </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
         <plugins>


Reply via email to