Author: alexsmirnov
Date: 2007-03-29 22:19:54 -0400 (Thu, 29 Mar 2007)
New Revision: 45
Modified:
trunk/pom.xml
Log:
move clover instrumentation to separate profile
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2007-03-30 01:56:34 UTC (rev 44)
+++ trunk/pom.xml 2007-03-30 02:19:54 UTC (rev 45)
@@ -78,8 +78,8 @@
<url>${snapshotRepository}</url>
</snapshotRepository>
<site>
- <id>ajax4jsf-site</id>
- <url>ajax4jsf/</url>
+ <id>ajax4jsf-site</id>
+ <url>ajax4jsf/</url>
</site>
</distributionManagement>
<repositories>
@@ -98,28 +98,6 @@
<layout>legacy</layout>
</repository>
</repositories>
- <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>
<scm>
<connection>
@@ -180,22 +158,14 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clover-plugin</artifactId><!--
- <configuration>
- <licenseLocation>${cloverLicense}</licenseLocation>
- <jdk>1.5</jdk>
- </configuration>
- --></plugin>
</plugins>
</reporting>
- <ciManagement>
- <notifiers></notifiers>
- <system>cruisecontrol</system>
+ <ciManagement>
+ <notifiers></notifiers>
+ <system>cruisecontrol</system>
</ciManagement>
-
+
<modules>
<module>framework</module>
<module>test</module>
@@ -293,6 +263,50 @@
</plugins>
</build>
</profile>
+ <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>
<!--module>samples</module-->
</project>
\ No newline at end of file
Show replies by date