title: Maven - include all submodules of a pom as dependencies in another module
body: <p>We have a maven module that is set up as so:</p>
  
  <pre><code>a (parent)
    -&gt; b (submodule)
    -&gt; c (submodule)
    -&gt; d (submodule)
  </code></pre>
  
  <p>This list of submodules is set to grow as time goes on (to a list of 20 or so).  We have another module that will include as dependencies all submodules of a.  Is there a neat way of doing this, rather than having to manually keep the submodule list in sync with the dependencies list.  I.e. is there any way of including a and all submodules as a dependency?</p>