Uploaded image for project: 'Build'
  1. Build
  2. BUILD-543

Replace Clover with JaCoCo

XMLWordPrintable

      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.
      Looking here  https://github.com/openclover/clover/issues/64 support for JDK11 is still missing.

      We should remove Clover and find an alternative to it (seems to be a dead project anyway).
      See also discussion in Slack https://magnolia-cms.slack.com/archives/CDF2T239Q/p1632482240124000

      Eventually we chose JaCoCo, see also comment section
      https://www.jacoco.org/jacoco/trunk/doc/index.html

        Acceptance criteria

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR