I'm trying to run emma on maven but somehow I cannot produce the reporsts.
My pom.xml is:
<project>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-alpha-3</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>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>emma-maven-plugin</artifactId>
<version>1.0-alpha-3</version>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
<inherited>true</inherited>
</plugin>
</plugins>
</reporting>
</project>
just as is writen here http://mojo.codehaus.org/emma-maven-plugin/usage.html
I do get the instrumentation message when running >> mvn clean install:
[INFO] Instrumenting classes with EMMA
processing instrumentation path ...
instrumentation path processed in 35 ms
[5 class(es) instrumented, 0 resource(s) copied]
metadata merged into
[/home/miguel.silva.local/svn/pulse/04_Software/wendy/target/coverage.em]
{in 72 ms}
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/home/miguel.silva.local/svn/pulse/04_Software/wendy/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 1 source file to
/home/miguel.silva.local/svn/pulse/04_Software/wendy/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/home/miguel.silva.local/svn/pulse/04_Software/wendy/target/surefire-reports
But only the surefire report is generated. Am I missing something?
--
View this message in context:
http://maven.40175.n5.nabble.com/emma-report-not-appearing-tp4659835p4659835.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]