Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Debugging the wrong MAVEN dependency?

$
0
0

So here is my project hierarchy.

 

ApplicationA

               |____JarA - snapshot version 2

 

ApplicationB

               |____JarA - released version 1

 

 

 

I have ApplicationA, ApplicationB, and JarA 2-snapshot source in my workspace.

 

When I deploy both ApplicationA and ApplicationB to Tomcat in debug, I seem to step into the wrong version of JarA. When I access ApplicationA, I expect to be stepping through JarA snapshot version. IntelliJ is dropping me in the released version of JarA, which is a dependency from the ApplicationB chain (external libraries).

 

Does this make sense? I have confirmed that my parent pom for ApplicationA is depending on the snapshot version of JarA, which is opened in my workspace for workspace resolution.

 

 

 

 

Windows XP, Intellij 12, Maven 3, JDK 6


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>