title: Invoke Maven-Module Build from IntelliJ
body: <p>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) modules on which it depends.</p>
  
  <p>So for instance if I would like to only build the module "Model" in the picture, it seems reasonable for me to click the package step on it. But what it actually does it invokes the <code>mvn package</code> step inside this specific module rather than <code>mvn -am -pl module-name</code> from the root module, which also builds all the dependencies.</p>
  
  <p>So is there something that I just don't know?</p>
  
  <p><em>removed dead ImageShack link</em></p>