Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use Clover for the project with version ranges for some artifacts?

Gaurav Sharma December 27, 2020

I have one parent pom where I am declaring version range for one artifact like below

parent pom

<dependencyManagement>

   <dependency>

          <groupId>com.abc</groupId>

          <artifactId>arti</artifactId>

          <version>[1.0.0,2.0.0)</version>

   </dependency>

<dependencyManagement>

 

child pom

<parent>

  {parent info}

</parent>

<dependencies>

  <dependency>

      <groupId>com.abc</groupId>

       <artifactId>arti</artifactId>

  </dependency>

</dependencies>

 

when I am trying to run clover build, it is giving below error 

setup failed for artifact com.abc:arti:null:jar....The version can not be empty.

Anybody has any idea ?

Please note that maven clean install build is working totally fine.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events