Hi all,
I have configured jacoco plugin as follows. And my project structure as below.
There is a parent pom and two modules as core and tests. core contains all the
source files. tests contains the test cases.
parent --> core
--> tests
I can see that, jacoco.exec file contain some data. Any idea whats went wrong
here?.. Is this because source is in another module?.
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<!--<dataFile>target/jacoco.exec</dataFile>-->
<includes>
<include>org.sample*</include>
</includes>
</configuration>
</execution>
<execution>
<configuration>
<includes>
<include>org.sample*</include>
</includes>
<dataFile>target/jacoco.exec</dataFile>
</configuration>
<id>default-report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>default-check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
Regards,
Aruna
--
You received this message because you are subscribed to the Google Groups
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/05a507f4-f7bf-47d2-9230-c1b30b03431c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.