title: How can I use Maven to build a jar with required libraries in a sub-folder (like Eclipse)
body: <p>In Eclipse, you can create a project jar with its required dependencies in an adjacent sub-folder by doing ...</p>
  
  <ol>
  <li><p>Export->Java->Runnable JAR file</p></li>
  <li><p>Select Library handling option: Copy required libraries into a sub-folder next to the generated JAR</p></li>
  </ol>
  
  <p>Is there a way to do this with the Maven assembly plugin? Or is there another Maven plugin that would be more appropriate for this task?</p>
  
  <p>Thanks!</p>