title: building a zip out of zips in maven assembly in multi module build
body: <p>I have a some maven projects that generate a zip with the maven assembly plugins (each project builds its own zip).</p>
  
  <p>Now I have another project that is just a multi module project, referencing the other projects. I want this project to generate a zip <em>with the contents of the submodules zips</em>.</p>
  
  <p>How is this possible? I don't know how to configure the assembly plugin for the multimodule project.</p>
  
  <p>To clarify, I have these projects</p>
  
  <pre><code>Submodule1
  Submodule2
  Mainmodule
  </code></pre>
  
  <p>The submodules generate these zip-file with the assembly-plugin:</p>
  
  <pre><code>Submodule1:
    {Submodule1.jar, 
     dependency1.jar, 
     dependency2.jar, 
     someotherfile.txt}
  
  Submodule2:
    {Submodule2.jar, 
     dependency3.jar, 
     evenanotherfile.txt}
  </code></pre>
  
  <p>And I want the main module to generate this zip:</p>
  
  <pre><code>Mainmodule:
    {Submodule1.jar, 
     dependency1.jar, 
     dependency2.jar, 
     someotherfile.txt
     Submodule2.jar, 
     dependency3.jar, 
     evenanotherfile.txt}
  </code></pre>
  
  <p><em>EDIT:</em> Regarding the "duplicate": This question has nothing to do with creating multiple assemblies from one maven project. I have multiple maven projects, each of them builds its own assembly. Then I have another (multii module) project, that builds its own assembly (but this assembly should contain the contents of the submodules assemblies)</p>