title: sling models not loaded and imported packages are none in system/console/bundles despite import-package declarations in manifest headers
body: <p>I am trying to create HTL/Sightly component using sling models in Adobe Experience Manager (AEM) 6.1, but facing difficulties in getting sling model working.  System Console for Bundles is showing Imported Packages as None even though the manifest headers for my sling-models-bundle properly contain all the import-package declarations.</p>
  
  <p>i checked in system/console/sling-adapters - my sling model class is not present there. i verified in the logs that the PostContruct annotated method is not called. I read somewhere that the AEM/Sling instance may be missing "Sightly Sling Models Use Provider", so i embedded that in my bundle but it did not help.</p>
  
  <p>could someone shed some light on situations in which the OSGI runtime (here - felix) does not import packages declared in the manifest header for import-package?</p>
  
  <p>Here are the export-package, import-package and sling-model-packages declarations</p>
  
  <pre><code>&lt;Export-Package&gt;
      com.company.project.model
  &lt;/Export-Package&gt;
  
  &lt;Sling-Model-Packages&gt;
      com.company.project.model
  &lt;/Sling-Model-Packages&gt;
  
  &lt;Import-Package&gt;
      javax.inject;version="[0,2)";resolution:=optional,
      !org.apache.log,
      !org.apache.avalon.framework.logger,
      *;resolution:=optional
  &lt;/Import-Package&gt;
  </code></pre>