title: How to add import-packages from a specific bundle version in OSGi
body: <p>My project has two OSGi bundles (A and B) which need to use different versions of <code>javax.activation</code> — A requires version 1.1.0, while B requires 1.1.1.</p>
  
  <p>By default in AEM 5.6.1, there is a bundle already installed which exports version 1.1.1, which bundle A is using. In order to make it use 1.1.0 instaed, I used boot delegation to get the javax.activation from the JRE 7 for the system bundle which is 1.1.0. I am setting this using sling.properties file in AEM 5.6.1. </p>
  
  <p>If I give a version for javax.activation greater than 1.1.1 in this sling.properties file, both A and B are using the system version (even though version of import-packages is specified in the <code>manifest.mf</code> file); but if I give a version less than 1.1.1, both bundles use the version provided by AEM.</p>
  
  <p>How can I configure my bundles so as to use different versions of javax.activation for Bundle A from Bundle B?</p>