I have two dependencies that I cannot change due to requirements. Both use the scala dependency in maven.
<dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>2.8.2</version> </dependency>
One dependency is the jar file library added to the project, and the other dependency is the maven dependency.
The problem is that both require a scala dependency, one with version 2.8.2 and one with version 2.10.2. Both do not work with a different version number.
The bottom line is: how can I set the maven dependency to use 2.10.2, and the jar file 2.8.2?
source share