Hi, I have a diffeernt use case for jacoco. We are running seleneium automation and recording the coverage through jacoco. The path to jacoc jar file is at the jvm command line during tomcat startup. We take this exce file and run jacoco command from command line against the source code to generate the report.
mvn org.jacoco:jacoco-maven-plugin:0.8.5:report -Djacoco.dataFile=/location/jacoco.exec Working good so far and I can see the coverage in respective modules. I want to get an aggregated coverage report for all the modules. I created a a new module and defined this in pom.xml <build> <plugins> <plugin> <groupId>@project.groupId@</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>report-aggregate</id> <phase>verify</phase> <goals> <goal>report-aggregate</goal> </goals> </execution> </executions> </plugin> </plugins> </build> Now if I run the following from command line mvn org.jacoco:jacoco-maven-plugin:0.8.5:report-aggregate -Djacoco.dataFile=/location/jacoco.exec I would expect to see an aggrgeated report. I think I am running from command line but the definition is in the pom and that is why jacoco fails to detect aggregated module? -- 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/9116e4fa-0b76-4ff2-9a4a-76959fe15cc7n%40googlegroups.com.
