-
Bug
-
Resolution: Done
-
Major
-
2.12.2.Final
-
None
The method "areEquivalent(Dependency, Dependency)" of org.jboss.forge.addon.dependencies.util.Dependencies does not check to see if the two dependencies have different packaging types or scopes.
For example, I cannot add both of the following dependencies:
<dependency>
<groupId>org.jboss.errai</groupId>
<artifactId>errai-cdi-client</artifactId>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.errai</groupId>
<artifactId>errai-cdi-client</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Fixed