title: maven-assembly-plugin
body: <p>I'm trying to add a classpath to the jar generated by the maven-assembly-plugin. The assembly bulids, except the manifest has no classpath. Below is my configuration. Any help would be appreciated. Thanks!</p>
  
  <pre><code>&lt;plugin&gt;
    &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
    &lt;executions&gt;
      &lt;execution&gt;
        &lt;id&gt;make-assembly&lt;/id&gt;
        &lt;phase&gt;package&lt;/phase&gt;
        &lt;goals&gt;
          &lt;goal&gt;assembly&lt;/goal&gt;
        &lt;/goals&gt;
      &lt;/execution&gt;
    &lt;/executions&gt;
    &lt;configuration&gt;
      &lt;descriptors&gt;
        &lt;descriptor&gt;assembly/package.xml&lt;/descriptor&gt;
      &lt;/descriptors&gt;
      &lt;archive&gt;
        &lt;manifest&gt;
          &lt;mainClass&gt;mymain.Main&lt;/mainClass&gt;
          &lt;addClasspath&gt;true&lt;/addClasspath&gt;
        &lt;/manifest&gt;
      &lt;/archive&gt;
    &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>