title: Build JAR with custom manifest in maven
body: <p>I am trying to get maven to create the artifact jar with a custom MANIFEST.MF.</p>
  
  <p>Sounds like an easy task using the following snippet:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
      &lt;configuration&gt;
          &lt;archive&gt;
              &lt;manifestFile&gt;${project.build.directory}/META-INF/MANIFEST.MF&lt;/manifestFile&gt;
          &lt;/archive&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>Problem is, that the maven-jar-plugin still "messes" with the manifest I created manually. The documentation states</p>
  
  <blockquote>
    <p>The content of your own manifest file will be merged with the entries
    created by Maven Archiver</p>
  </blockquote>
  
  <p>Unfortunately this is not the case for the Manifest-Version. It will always be set to "1.0". (I know that in theory this is correct, but for reasons I cannot influence, I need a different value in there).
  Any ideas on how to step the jar plugin from touching my manifest at all or at least keeping its hands of the Manifest-Version?</p>