Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-M3
-
None
Description
dependencies to test
<dependencies> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>7.1.0</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>3.5.0</version> </dependency> </dependencies>
We got information (there are other missing converge):
[WARNING]
Dependency convergence error for com.google.inject:guice:4.1.0 paths to dependency are:
+-test.example.com:test:1.0.0-SNAPSHOT
+-org.testng:testng:7.1.0
+-com.google.inject:guice:4.1.0
and
+-test.example.com:test:1.0.0-SNAPSHOT
+-org.apache.maven:maven-core:3.5.0
+-com.google.inject:guice:4.0
To resolve it we should add:
<dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <classifier>no_aop</classifier> <version>4.1.0</version> </dependency>
In log message information about artifact classifier is missing. It will be useful to know classifier, in other case we need do some more discovery to find it.
Eg dependency:tree show it
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ test ---
[INFO] test.example.com:test:jar:1.0.0-SNAPSHOT
[INFO] +- org.testng:testng:jar:7.1.0:compile
[INFO] | +- com.beust:jcommander:jar:1.72:compile
[INFO] | +- com.google.inject:guice:jar:no_aop:4.1.0:compile
....
Attachments
Issue Links
- links to