Replace Clover with JaCoCo (BUILD-543)

[BUILD-706] Provide JaCoCo Maven plugin to builds Created: 04/Mar/22  Updated: 23/Mar/22  Resolved: 23/Mar/22

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: None
Fix Version/s: POMs 45

Type: Sub-task Priority: Neutral
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Done Votes: 0
Labels: foundation_team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:

 Description   
  • 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?)

Generated at Sun Feb 11 23:44:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.