title: Maven: Packaging dependencies alongside project JAR?
body: <p>I'd like Maven to package a project alongside its run-time dependencies. I expect it to create a JAR file with the following manifest:</p>
  
  <pre><code>.....
  Main-Class : com.acme.MainClass
  Class-Path : lib/dependency1.jar lib/dependency2.jar
  .....
  </code></pre>
  
  <p>and create the following directory structure:</p>
  
  <pre><code>target
  |-- ....
  |-- my-project.jar
  |-- lib
      |-- dependency1.jar
      |-- dependency2.jar
  </code></pre>
  
  <p>Meaning, I want the main JAR to exclude any dependencies and I want all transitive dependencies to get copied into a "lib" sub-directory. Any ideas?</p>