Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Alexander Kriegisch
classpath in case of dependency conflict Hello Tamas,Thank you for the reply.Reordering of dependencies includes guava-30.1-jre.jar into compileclasspath.Dependency tree:org.example:dependency-conflict-example:jar:1.0-SNAPSHOT+- com.google.inject:guice:jar:5.1.0:compile

Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Rimvydas Vaidelis
Hello Tamas, Thank you for the reply. Reordering of dependencies includes guava-30.1-jre.jar into compile classpath. Dependency tree: org.example:dependency-conflict-example:jar:1.0-SNAPSHOT +- com.google.inject:guice:jar:5.1.0:compile | +- javax.inject:javax.inject:jar:1:compile | +- aopallia

Re: Compile classpath in case of dependency conflict

2022-04-12 Thread Tamás Cservenák
Howdy, seems is "known issue" https://issues.apache.org/jira/browse/MNG-6224 what happens if you reorder your dependencies in pom, first compile and then test scoped ones? HTH T On Tue, Apr 12, 2022 at 1:00 PM Rimvydas Vaidelis < rimvydas.vaide...@gmail.com> wrote: > Hello, > > I have 2 depend

Compile classpath in case of dependency conflict

2022-04-12 Thread Rimvydas Vaidelis
Hello, I have 2 dependencies org.reflections:reflections:jar:0.9.8:test and com.google.inject:guice:jar:5.1.0:compile. org.reflections:reflections:jar:0.9.8 uses com.google.guava:guava:jar:11.0.2:compile com.google.inject:guice:jar:5.1.0 uses com.google.guava:guava:30.1-jre:compile During compili