Robert Munteanu created SLING-9691:
--------------------------------------

             Summary: Analyser reports bundle embedded in content package as 
having no satisfied imports
                 Key: SLING-9691
                 URL: https://issues.apache.org/jira/browse/SLING-9691
             Project: Sling
          Issue Type: Bug
          Components: Feature Model Analyser
            Reporter: Robert Munteanu
             Fix For: Feature Model Analyser 1.3.8


I am building a 'slingshot' content package that embeds the slingshot bundle 
already part of the Sling Starter. When the analyser runs it complains that 

{noformat}[ERROR] Bundle org.apache.sling.sample.slingshot:0.9.1-SNAPSHOT is 
importing package(s) [org.slf4j, javax.servlet, org.apache.sling.api.resource, 
org.apache.sling.api, org.apache.sling.api.servlets, javax.jcr] in start level 
0 but no bundle is exporting these for that start level.
[ERROR] Artifact 
org.apache.sling:org.apache.sling.sample.slingshot:0.9.1-SNAPSHOT requires 
[org.apache.sling.sample.slingshot/0.9.1.SNAPSHOT] osgi.extender; 
filter:="(&(osgi.extender=osgi.component)(version>=1.4.0)(!(version>=2.0.0)))" 
in start level 0 but no artifact is providing a matching capability in this 
start level.{noformat}

But those imports are definitely there. If I just keep the bundle instead of 
wrapping it in a content package, the analysis is complete.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to