Error "package com_atlassian_clover does not exist"

krazyk4tlady :

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?

ihebiheb :

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>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=131016&siteId=1