Author: tchemit Date: 2010-04-20 00:44:30 +0200 (Tue, 20 Apr 2010) New Revision: 705 Log: improve release profile Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-04-19 22:32:01 UTC (rev 704) +++ trunk/pom.xml 2010-04-19 22:44:30 UTC (rev 705) @@ -347,9 +347,8 @@ </build> - <profiles> - <!-- perform only on a release stage when using the maven-release-plugin --> + <!-- reporting at release time --> <profile> <id>reporting</id> <activation> @@ -359,7 +358,6 @@ </property> </activation> - <reporting> <plugins> @@ -378,7 +376,7 @@ </reporting> </profile> - <!-- perform only on a release stage when using the maven-release-plugin --> + <!-- to deploy snapshot or release without anything else --> <profile> <id>release-profile</id> <activation> @@ -419,6 +417,36 @@ </executions> </plugin> + <!-- add the help mojo --> + <plugin> + <artifactId>maven-plugin-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>helpmojo</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + </build> + + </profile> + + <!-- prepare the assembly at release time --> + <profile> + <id>release-assembly-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + + <build> + <plugins> + <!-- build release zip files --> <plugin> <artifactId>maven-assembly-plugin</artifactId> @@ -440,22 +468,12 @@ </configuration> </plugin> - <plugin> - <artifactId>maven-plugin-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>helpmojo</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> </build> </profile> + <!-- run the IT at release time --> <profile> <id>run-its</id> <activation>
participants (1)
-
tchemit@users.nuiton.org