title: Copy artifacts of each module in multi-module project to specific folder
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8292752/maven-multi-module-project-copying-all-package-jars-from-submodules-into-par">Maven multi-module project - copying all &ldquo;package&rdquo; JARS from submodules into parent/target/</a>  </p>
  </blockquote>
  
  
  
  <p>I have an pom structure:</p>
  
  <pre><code>project1
      |
      |______ pom.xml
      |______ module 1
      |          |_____ pom.xml
      |          |_____ dist
      |                  |_____ bin
      |                  |_____ lib
      |______ module 2
      |          |_____ pom.xml
      |          |_____ dist
      |                  |_____ bin
      |                  |_____ lib
      |______ dist
      |         |____ bin
      |         |____ lib
  
  
  Requirements:
       +  When build each module, bundle file will be copied to its' dist/bin and dependencies copied to its' dist/lib
       + When build project1, bundle file of each module will be copied to project1/dist/bin and dependencies of all modules copied to project/dist/lib
  </code></pre>
  
  <p>Can we achieve this??? If it can, how we do it???</p>