Open syr opened 1 year ago
/cc @geoand (testing)
What is the status of this issue? I experience the same!
@RickVerkuijlenMentech no news. As a cumbersome but working workaround I aggregate the coverage results by plain jacoco-maven-plugin's report-aggregate in a separate jacoco dedicated maven module
Describe the bug
We have a multimodule project with module structure:
configured as documented in https://quarkus.io/guides/tests-with-coverage#working-with-multi-module-projects and generate jandex index for all modules.
Now after "mvn clean install" the jacoco.exec and reports are created as expected under root/target. However, the report contains only coverage for
see:
Opposite to this, the jacoco.exec actually contains coverage data for org.acme.testcoverage.service
Expected behavior
reports containing coverage for all modules:
Actual behavior
reports containing coverage only for last built module (common only included due to a test call service2->common):
How to Reproduce?
https://github.com/syr/tests-with-coverage-multimodule-quickstart/tree/3.5
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "17.0.2" 2022-01-18 OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8) OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)
Quarkus version or git rev
3.5.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)apache-maven-3.8.6-bin
Additional information
No response