title: How do I bundle maven submodule jars into one jar file?
body: <p>I have <code>maven</code> module <code>inventory</code> that looks like</p>
  
  <pre><code>&lt;groupId&gt;com.org.my_services&lt;/groupId&gt;
  &lt;artifactId&gt;inventory&lt;/artifactId&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;
  &lt;name&gt;Inventory&lt;/name&gt;
  
  &lt;modules&gt;
      &lt;module&gt;persistence&lt;/module&gt;
      &lt;module&gt;business&lt;/module&gt;
      &lt;module&gt;services&lt;/module&gt;
      &lt;!--&lt;module&gt;integration&lt;/module&gt;--&gt;
      &lt;module&gt;converter&lt;/module&gt;
  &lt;/modules&gt;
  </code></pre>
  
  <p><strong>what I want</strong></p>
  
  <p>I want to create a single jar <code>inventory.jar</code>, which contains jar files for</p>
  
  <pre><code>persistence.jar
  business.jar
  services.jar
  </code></pre>
  
  <p>I am a maven newbie and don't really know how that is possible</p>
  
  <p>I am using <code>Maven 3</code></p>
  
  <p><strong>Update</strong></p>
  
  <p>I want this to be a <code>Library</code> that can be used by other teams</p>