Author: alexsmirnov
Date: 2007-03-29 22:19:34 -0400 (Thu, 29 Mar 2007)
New Revision: 218
Modified:
trunk/richfaces/pom.xml
Log:
move clover instrumentation to separate profile
Modified: trunk/richfaces/pom.xml
===================================================================
--- trunk/richfaces/pom.xml 2007-03-30 02:03:08 UTC (rev 217)
+++ trunk/richfaces/pom.xml 2007-03-30 02:19:34 UTC (rev 218)
@@ -93,23 +93,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-clover-plugin</artifactId>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>instrument</goal>
- <goal>aggregate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <includesAllSourceRoots>true</includesAllSourceRoots>
- <licenseLocation>${cloverLicense}</licenseLocation>
- <jdk>1.5</jdk>
- </configuration>
- </plugin>
</plugins>
</build>
<modules>
@@ -310,14 +293,6 @@
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
- <plugin>
- <artifactId>maven-clover-plugin</artifactId>
- <configuration>
- <includesAllSourceRoots>true</includesAllSourceRoots>
- <licenseLocation>${cloverLicense}</licenseLocation>
- <jdk>1.5</jdk>
- </configuration>
- </plugin>
</plugins>
</reporting>
<distributionManagement>
@@ -336,5 +311,51 @@
</site>
<
downloadUrl>http://labs.jboss.com/portal/jbossrichfaces/downloads</...
</distributionManagement>
+ <profiles>
+ <profile>
+ <id>clover</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clover-plugin</artifactId>
+ <configuration>
+ <includesAllSourceRoots>
+ true
+ </includesAllSourceRoots>
+ <licenseLocation>
+ ${cloverLicense}
+ </licenseLocation>
+ <jdk>1.5</jdk>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>instrument</goal>
+ <goal>aggregate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clover-plugin</artifactId>
+ <!--
+ <configuration>
+ <licenseLocation>${cloverLicense}</licenseLocation>
+ <jdk>1.5</jdk>
+ </configuration>
+ -->
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
</project>