Commit 2f34d4a
Fix empty JaCoCo aggregate report by adding dedicated reporting module
The JaCoCo aggregate report was empty because the aggregator POM lacked
dependencies on the modules it was supposed to report on.
This change introduces a dedicated `org.moreunit.report` module that
handles the aggregation by explicitly depending on both the core
functional modules and their respective test suites. This ensures
JaCoCo can locate all classes, sources, and execution data.
The aggregate report is still output to the location expected by the CI
workflow: `org.moreunit.build/target/site/jacoco-aggregate/jacoco.xml`.
Changes:
- Created `org.moreunit.report/pom.xml` with coverage aggregation logic
and dependencies on code and test modules.
- Registered the new module in `org.moreunit.build/pom.xml`.
- Removed the non-functional `report-aggregate` goal from the aggregator POM.
Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>1 parent 04f1be8 commit 2f34d4a
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
37 | 57 | | |
38 | 58 | | |
39 | 59 | | |
| |||
0 commit comments