Skip to content

Commit

Permalink
switch to emma now it's available for coverage
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@519 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Dec 14, 2008
1 parent e2635c0 commit cbc627d
Showing 1 changed file with 42 additions and 5 deletions.
47 changes: 42 additions & 5 deletions pom.xml
Expand Up @@ -48,10 +48,6 @@
</repositories>

<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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit cbc627d

Please sign in to comment.