I would like to add the following dependency to a maven (I'm not using the m2e plugin).
<dependency>
<groupId>uk.com.robust-it</groupId>
<artifactId>cloning</artifactId>
<version>1.9.0</version>
</dependency>
The problem is that the jar simply is not added to the .classpath file in eclipse when I execute mvn eclipse:clean eclipse:eclipse
. It works fine for this dependency.
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom2</artifactId>
<version>2.0.5</version>
</dependency>
Maven does donwload cloning the dependency. The correct .jar file is in ~/.m2/repositories
. I also tried mvn eclipse:configure-workspace
before executing mvn eclipse:clean eclipse:eclipse
. Didn't help either. Running mvn clean compile test integration-test
works fine, even if I add imports to classes in cloning.
Any help is greatly appreciated!
Try a
to see if the
scope
isprovided