I've a multimodule project with a parent pom and
children modules like:
child2 depends on child1
... many more modules
When I was using eclipse, I tend to install child1 to .m2 and then close child1 to avoid slow compilation times. Eclipse can then load the .m2/../child1.jar file straight away and sucesfully compile child2.
I am trying to do the same with IDEA but can't make it work. When I go to "Maven Projects" and do "Ignore Project" for child1, then child2 has compilation errors as neither child1 nor .m2/repository/.../child1.jar is used.
Can I make this work? Compilation times are really high if I have all modules open (java+scala modules, many times it takes 4 minutes to compile)