Author: pete.muir(a)jboss.org
Date: 2008-12-14 13:37:52 -0500 (Sun, 14 Dec 2008)
New Revision: 519
Modified:
ri/trunk/pom.xml
Log:
switch to emma now it's available for coverage
Modified: ri/trunk/pom.xml
===================================================================
--- ri/trunk/pom.xml 2008-12-14 13:36:56 UTC (rev 518)
+++ ri/trunk/pom.xml 2008-12-14 18:37:52 UTC (rev 519)
@@ -49,10 +49,6 @@
<pluginRepositories>
<pluginRepository>
- <id>snapshots.repository.codehaus.org</id>
- <url>http://snapshots.repository.codehaus.org</url>
- </pluginRepository>
- <pluginRepository>
<id>repository.jboss.org</id>
<name>JBoss Repository</name>
<
url>http://repository.jboss.org/maven2</url>
@@ -237,7 +233,48 @@
</plugins>
</pluginManagement>
</build>
-
+
+ <profiles>
+ <profile>
+ <id>coverage</id>
+ <activation>
+ <property>
+ <name>coverage</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>emma-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+ <inherited>true</inherited>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>instrument</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <forkMode>once</forkMode>
+ <reportFormat>xml</reportFormat>
+ <classesDirectory>
+ ${project.build.directory}/generated-classes/emma/classes
+ </classesDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<ciManagement>
<system>Hudson</system>
<url></url>