title: Automatically including sub-modules of another maven project
body: <p>I have my project structure like this.</p>
  
  <pre><code>   pro
       pro-common
         pom.xml
       pro-list-history  ==&gt; [1] Packaging type pom
          pro-list-main    
             pro-list-entities
                pom.xml
             pro-list-daos
                 pom.xml
             pro-list-services
                pom.xml
          pom.xml
       pro-search
          pom.xml
       pro-customers
          pom.xml
     pom.xml
  
  
   pro2
       pro-list-history
          pro-list-main    
             pro-list-entities
                pom.xml
             pro-list-daos
                 pom.xml
             pro-list-services
                pom.xml    ==&gt; Want to use [1]
          pom.xml
       pom.xml
  </code></pre>
  
  <p>My question is is okay to use groupId and artifactID from [1] in the second project as shown above?
  The referred module packaging type is pom.</p>
  
  <p>Put a dependency section in the project two at the specified module as shown above, and specified  as pom. Build is fine, but its not importing the dependencies from that project.</p>
  
  <p>Can anyone help?</p>