My company's got a multi-module maven set up where different maven profiles (each with different dependencies or versions on the same dependencies) are activated by the file-exists activation. Each module has 1 or more marker files that lets maven know which profiles to compile and run against.
This all works fine from the command line but when i pull the entire structure into intellij, the correct profiles aren't used. I've see that I can manually activate profiles via the Maven Projects tab, but that's an all or nothing thing. I can't assign profiles 1 & 3 to module A and profiles 2 and 3 to Module B.
Is there a way to do this IDEA? I'm using version 10.0.1