javacode-coverageclover

Error "package com_atlassian_clover does not exist"


I am trying to use Clover to measure method code coverage for a Java project. I have installed clover-idea-4.3.1.jar (IntelliJ IDEA). The installation seems to have succeeded because all expected icons are on the toolbar. Next, I tried to get an instrumented build but compilation failed with multiple instances of the error: package com_atlassian_clover does not exist

what do I need to do to make it work?


Solution

  • The solution provided by @krazyk4tlady didn't work for me.

    Adding this in the pom.xml solved the problem.

        <dependency>
            <groupId>org.openclover</groupId>
            <artifactId>clover-maven-plugin</artifactId>
            <version>4.3.1</version>
            <type>maven-plugin</type>
        </dependency>