title: Embedding JARs into the OSGi bundle with maven-bundle-plugin
body: <p>I’m trying to embed some JARs into single OSGi bundle using the  feature of <a href="http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin%28BND%29-Embeddingdependencies" rel="noreferrer">maven-bundle-plugin</a></p>
  
  <p>The thing that worries me is that all packages of embedded JARs are put into the Import-Package header of the generated MANIFEST.MF.</p>
  
  <p>If I specify explicitly to use only the packages I need, like in the following snippet:</p>
  
  <pre><code>Import-Package: org.osgi.framework
  </code></pre>
  
  <p>The build fails with BND error (unresolved references).</p>
  
  <p>So, the question here is how can I build the bundle with embedded JARs with "Import-Package" header I need?</p>