build maven modules i depend on

I have a multimodule project.
Whenever I build a module I want to build the modules of my project that I depend on (and that have changed) automatically as well.
In Netbeans this is no problem: I got a "build with dependencies" that launches
mvn.bat --also-make
In IntelliJ I do not see how i can pass an option like --also-make when I launch the compile life cycle goal.
All options I can set seam to go to other locations in the launcher command that intellij executes (com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher  --offline --no-plugin-registry)
Anyone knows where I should add the --also-make option to the options IDEA already sets (like --offline)?

TIA

jan

1 comment
Comment actions Permalink

try maven reactor plugin. just embed it in your project.

regards, Alex

0

Please sign in to leave a comment.