I'm not sure if this is a bug or me doing something incorrectly, but I'm having recurring problems using Maven2 in IntelliJ.
We have a maven2 repository at work and everything works great as long as the proper snapshots are available on the network. When I go home, even with "offline" mode checked I will invariably get incorrect dependencies generated when I resynchronize the project.
Our structures looks something like:
I'm trying to work on Project 6 and it works fine as far as mvn compile or mvn install from the command line.
In IntelliJ though, if I resynchronize then I only get projects 3 and 5 as dependencies (this is when my repository isn't available remember, though the snapshots are all in my local ~/.m2/repository). I can go into each import statement and do an alt-enter to add the jar file to my classpath automatically, but it takes forever.