- See https://www.jacoco.org/jacoco/trunk/doc/maven.html and https://www.jacoco.org/jacoco/trunk/doc/examples/build/pom.xml for examples
Check goal could be configured with the LINE or INSTRUCTION counter (seem to yield approximately the same coverage as Clover)
Enable reporting only for site generation.
- Create enable-jacoco profile in ppom (much like we have enable-clover profile). We want to activate this profile ad hoc, not by default (for instance, not when developing locally).
(Remove enable-clover profile at the same time or later?)
- Replace cloverCoverageThreshold property with something more tech agnostic (codeCoverageThreshold?)
|