title: Bundle-ManifestVersion=2 vs. Bundle-ManifestVersion=1
body: <p>Background:</p>
  
  <ul>
  <li>We are building an eclipse RCP plugin with Maven and generating the MANIFEST.MF file with the Apache Felix plugin. This plugin is part of a bigger RCP framework that is developed internally in our company.</li>
  </ul>
  
  <p>The problem:</p>
  
  <ul>
  <li>The Felix plugin sets Bundle-ManifestVersion=2 in the MANIFEST.MF file. When we use this manifest file, our framework throws different exceptions related to org.eclipse.runtime</li>
  <li>When we set Bundle-ManifestVersion=1 (manually) or when we remove this entry from the MANIFEST.MF file, this error no longer appears.</li>
  </ul>
  
  <p>The question:</p>
  
  <ul>
  <li>What is the difference between Bundle-ManifestVersion=1 and Bundle-ManifestVersion=2? </li>
  </ul>
  
  <p>The MANIFEST.MF file looks something like this:</p>
  
  <pre><code>Manifest-Version: 1.0
  Embed-Directory: lib
  Bundle-ClassPath: .
  Tool: Bnd-0.0.357
  Bundle-Name: [... omitted ...]
  Created-By: Apache Maven Bundle Plugin
  Bundle-RequiredExecutionEnvironment: JavaSE-1.6
  Require-Bundle: org.eclipse.core.runtime, [... omitted ...]
  Build-Jdk: 1.6.0_21
  Bundle-Version: 1.0.2
  Bnd-LastModified: 1283847218240
  Embed-Transitive: false
  Bundle-ManifestVersion: 2
  Import-Package: [... omitted ...]
  Bundle-SymbolicName: [... omitted ...]`
  </code></pre>