I have a problem with getting workspace resolution working while working with a multi module maven project.
Lets say I have 2 Maven modules where A (webapp) depends on B (library).
Everything works while working in IntelliJ, dependencies get resolved while coding and deploying inside application server.
However, when I try to run maven compile or package targets from the Maven Projects Tool window for project B, then everything fails.
If I create a maven run configuration for this target and open this. Then I see the setting "Resolve workspace artifacts", enabling this also solves everything.
Is there some kind of way to always enable this "Resolve workspace artifacts" setting, so I dont need to create run configurations for all those lifecycle targets?
I am using Intellij 12 and maven3.