Author: henning Date: Thu Nov 4 18:56:57 2010 New Revision: 1031150 URL: http://svn.apache.org/viewvc?rev=1031150&view=rev Log: Update the commons-parent POM to allow using the apache-wide "apache-release" profile and still be somewhat commons compatible:
- activate the "apache-release" profile when deployment is run - generate checksums when running install with the apache-release profile - generate a sources jar for the tests. (This should actually go into the Apache root POM). This should allow deprecation and subsequent removal of the "release" and "rc" profiles from the commons parent POM in the long run. Modified: commons/proper/commons-parent/trunk/pom.xml Modified: commons/proper/commons-parent/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1031150&r1=1031149&r2=1031150&view=diff ============================================================================== --- commons/proper/commons-parent/trunk/pom.xml (original) +++ commons/proper/commons-parent/trunk/pom.xml Thu Nov 4 18:56:57 2010 @@ -134,7 +134,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>2.2-beta-5</version> + <version>2.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -602,6 +602,38 @@ </build> </profile> + <profile> + <id>apache-release</id> + <build> + <plugins> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <releaseProfiles>apache-release</releaseProfiles> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-test-sources</id> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-install-plugin</artifactId> + <configuration> + <createChecksum>true</createChecksum> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <!-- Profile for running the build using JDK 1.3 (JAVA_1_3_HOME needs to be defined, e.g. in settings.xml or an environment variable)