You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by fe...@apache.org on 2011/10/21 14:51:33 UTC
svn commit: r1187317 - /james/project/trunk/pom.xml
Author: felixk
Date: Fri Oct 21 12:51:32 2011
New Revision: 1187317
URL: http://svn.apache.org/viewvc?rev=1187317&view=rev
Log:
Add emma-maven-plugin to reports
Modified:
james/project/trunk/pom.xml
Modified: james/project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/project/trunk/pom.xml?rev=1187317&r1=1187316&r2=1187317&view=diff
==============================================================================
--- james/project/trunk/pom.xml (original)
+++ james/project/trunk/pom.xml Fri Oct 21 12:51:32 2011
@@ -693,9 +693,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.10</version>
+ <inherited>true</inherited>
<configuration>
<aggregate>true</aggregate>
- <forkMode>pertest</forkMode>
+ <forkMode>once</forkMode>
+ <reportFormat>xml</reportFormat>
+ <classesDirectory>${project.build.directory}/generated-classes/emma/classes</classesDirectory>
<argLine>-Xms256m -Xmx512m</argLine>
<testFailureIgnore>false</testFailureIgnore>
<skip>false</skip>
@@ -708,8 +711,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.10</version>
+ <inherited>true</inherited>
<configuration>
- <forkMode>pertest</forkMode>
+ <forkMode>once</forkMode>
<argLine>-Xms256m -Xmx512m</argLine>
<testFailureIgnore>false</testFailureIgnore>
<skip>false</skip>
@@ -877,6 +881,11 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
+ <!-- Order seems to matter. emma-maven-plugin must preceed maven-surfire-report-plugin. -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>emma-maven-plugin</artifactId>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org