Hi,
   I have an issue now for Multi Module, please see below:
   when generate the jacoco.exec file, I have add the 'append="true"'. Then 
generate the Coverage Report with 'mvn install', the configure of pom.xml 
like this:
   Now, the problem is:
   1. When *not add *the 'outputDirectory' property, then will generate 
each Coverage Report under each Module's file, there are some coverage File 
and an 'index.html', this is OK.
   2. When *add *the 'outputDirectory' property, thus I meet an Issue: The ‘
index.html' file will be covered by each other. Finally, it will only have 
the last one 'index.html' and some other Coverage File.
   
So, if anyone know this reason, please give me a help, Thanks!

Pom.xml:
                     <plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<configuration>
<dataFile>D:/ProjectCode/Accounts.UserRegisterService/Code-coverage/jacoco.exec</dataFile>
<outputDirectory>D:/ProjectCode/Accounts.UserRegisterService/Code-coverage/CoverageReport/</outputDirectory>
</configuration>
<executions>
<execution>
<id>jacoco-site</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>

-- 
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/fd468355-dc20-4375-afee-06267f3b4e43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to