title: How to add Class-Path to the manifest file with maven
body: <p>When using the maven-jar-plugin 
  <BR/>I would like to add entry to the Manifest.mf 
  <BR/>So it will contain:
  <BR/>Class-Path: .
  <BR/>When i add this entry to the Pom:</p>
  
  <pre><code>&lt;Class-Path&gt;.&lt;/Class-Path&gt; 
  </code></pre>
  
  <p>It will create Class-Path with all dependency
  <BR/>Like:
  <BR/>Class-Path: . jar1name.jar jar2name.jar etc
  <BR/>Instead of just 
  <BR/>Class-Path: .
  <BR/>Is there a way to avoid maven from adding all jar names to the Class-Path?
  <BR/>Thanks</p>
  
  <pre><code>    &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;archive&gt;
                      &lt;manifest&gt;
                          &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                      &lt;/manifest&gt;
                      &lt;manifestEntries&gt;
                          &lt;Built-By&gt;Me&lt;/Built-By&gt;
              &lt;Class-Path&gt;.&lt;/Class-Path&gt; 
                      &lt;/manifestEntries&gt;
                  &lt;/archive&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>