title: Maven: Add local dependencies to jar
body: <p>I have a dependency </p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;de.matthiasmann&lt;/groupId&gt;
          &lt;artifactId&gt;twl&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;systemPath&gt;${project.basedir}/lib/TWL.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>Then I execute <code>mvn assembly:assembly</code>. All natives files and remote maven libs are added, but there is no this jar.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>When I am trying to run app by <code>java -jar myjar.jar</code>. It returns an error that there is no class from the above dependency (NoClassDefFoundError : de.matthiasmann.twl.ForExample).
  I want to add classes from this jar to myjar.jar (the same what maven does with remote dependencies). How I can configure maven to do that?</p>