You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2020/09/08 15:10:00 UTC

[jira] [Closed] (SLING-9691) Analyser reports bundle embedded in content package as having no satisfied imports

     [ https://issues.apache.org/jira/browse/SLING-9691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu closed SLING-9691.
----------------------------------

> 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
>            Assignee: Robert Munteanu
>            Priority: Major
>             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)