Author: tchemit Date: 2010-04-22 12:31:59 +0200 (Thu, 22 Apr 2010) New Revision: 243 Log: use ujunit 4.8.1 + improve release profiles Modified: branches/nuiton-matrix-2.1.x/pom.xml Modified: branches/nuiton-matrix-2.1.x/pom.xml =================================================================== --- branches/nuiton-matrix-2.1.x/pom.xml 2010-04-22 10:31:29 UTC (rev 242) +++ branches/nuiton-matrix-2.1.x/pom.xml 2010-04-22 10:31:59 UTC (rev 243) @@ -79,7 +79,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.7</version> + <version>4.8.1</version> <scope>test</scope> </dependency> @@ -195,15 +195,8 @@ </build> - <!-- devrait etre remonte dans le super-pom --> <reporting> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>1.2</version> - </plugin> - </plugins> + <excludeDefaults>true</excludeDefaults> </reporting> <!-- ************************************************************* --> @@ -218,8 +211,10 @@ </scm> <profiles> + + <!-- create assemblies only at release time --> <profile> - <id>release-profile</id> + <id>release-assembly-profile</id> <activation> <property> <name>performRelease</name> @@ -254,6 +249,27 @@ </build> </profile> + + <!-- generates reports only at release time --> + <profile> + <id>reporting-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <reporting> + + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>1.2</version> + </plugin> + </plugins> + </reporting> + </profile> </profiles> </project>