[BUILD-543] Replace Clover with JaCoCo Created: 24/Sep/21 Updated: 24/Mar/22 Resolved: 24/Mar/22 |
|
| Status: | Closed |
| Project: | Build |
| Component/s: | Poms |
| Affects Version/s: | POMs 42 |
| Fix Version/s: | POMs 45 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Done | Votes: | 1 |
| Labels: | foundation_team, java11 | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Description |
|
Building with Java 11 fails due to Clover in our parent poms: [ERROR] Failed to execute goal org.openclover:clover-maven-plugin:4.4.1:instrumentInternal (instrument-and-check) on project magnolia-cloud-maven-plugin: Unsupported Java language level version [11]. Valid values are [1.3], [1.4], [1.5], [1.6], [1.7], [1.8] and [1.9]/[9] -> [Help 1] We currently use version 4.4.1 https://git.magnolia-cms.com/projects/BUILD/repos/poms/browse/poms/super-pom/pom.xml#136. We should remove Clover and find an alternative to it (seems to be a dead project anyway). |
| Comments |
| Comment by Mikaël Geljić [ 24/Sep/21 ] |
|
JaCoCo is a popular choice, and actively maintained:
|
| Comment by Federico Grilli [ 04/Mar/22 ] |
|
Here is a brief summary about trying out JaCoCo. Looks like it is the best option out there at the moment. JaCoCo (Java Code Coverage) GOOD
NOT SO GOOD
HOW TO PROCEED (proposal)
|