Problem
The existing report-aggregate goal produces a combined report but does not enforce thresholds.
I attempted to use an aggregator plugin, but only org.pitest:pitest-aggregator exists and it is a library jar (no plugin.xml), so Maven cannot execute it as a plugin.
Expected
An official Maven plugin (or goal) that can:
- aggregate PIT results across modules, and
- enforce thresholds (mutation, coverage, test strength) on the aggregated data.
Use Case
Multi-module build with production code with unit tests + integration tests split, where only the overall quality gate should decide build status.
Suggested solution
A new aggregate goal in pitest-maven that can enforce thresholds
Environment
- Maven: 3.9.8
- Java: 21.0.6
- PIT: 1.22.0