Invoke Maven-Module build from intellij

Posted by Roman on Stack Overflow See other posts from Stack Overflow or by Roman
Published on 2010-04-27T17:17:02Z Indexed on 2010/04/27 20:03 UTC
Read the original article Hit count: 274

Filed under:
|
|

Hi All

I was wondering if someone knows a way to invoke a specific maven module build from IntelliJ that will also build ( or use already compiled classes ) from depended modules.

So for instance if I would like to build the module "Model" in the picture and only it , it seems reasonable for me to click the package step on it. But what is actually does it invokes the mvn package step inside this specific module rather than "mvn -am -pl module-name" from the root module , which also builds all the dependencies.

So is there something that I just don't know ?

alt text

© Stack Overflow or respective owner

Related posts about maven

Related posts about intellij-idea