title: Build all maven sub modules
body: <p>I have a maven web project which has multiple sub-modules that form a hierarchy. Dependency of the project on top is specified in my web project which links all of its sub-dependencies and make them available to the web project. But the issue is when Before building the web project I need to run <code>mvn install</code> for every sub-modules starting from the jar project which is lowest on the hierarchy, I want some maven configuration which will build all the sub modules automatically when I build the web project.</p>
  
  <p>Example:</p>
  
  <p>A(Web project) -> (Sub-Modules) -> B -> C -> D -> E -> F</p>
  
  <p>When A is build all the jars should be rebuild and installed on my computer in order to reflect the updated changes done in my sub modules and are available to Web project A.</p>