[
https://issues.apache.org/jira/browse/SLING-8650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-8650.
------------------------------------
Resolution: Fixed
[~andysch] - I think has been solved with the migration to the feature model.
Please reopen is there is still something to fix here.
> Sling Starter Startlevels are not consistent
> --------------------------------------------
>
> Key: SLING-8650
> URL: https://issues.apache.org/jira/browse/SLING-8650
> Project: Sling
> Issue Type: Task
> Components: Starter
> Affects Versions: Starter 11
> Reporter: Andreas Schaefer
> Priority: Minor
> Fix For: Starter 12
>
>
> When running the Sling Feature Maven Plugin's Analyze method it complains
> about bundles importing packages on a given start level but that package is
> not exported at or before that start level. Here is the report:
>
> [ERROR] Bundle org.apache.sling.extensions.webconsolesecurityprovider:1.2.2
> is importing package(s) [org.apache.jackrabbit.api,
> org.apache.jackrabbit.api.security.user, javax.jcr] in start level 5 but no
> bundle is exporting these for that start level.
> [ERROR] Bundle jackrabbit-spi-commons:2.18.2 is importing package(s)
> [org.apache.commons.collections, org.apache.commons.collections.map,
> org.apache.commons.collections.iterators] in start level 15 but no bundle is
> exporting these for that start level.
> [ERROR] Bundle jackrabbit-webdav:2.18.2 is importing package(s)
> [org.apache.http.entity, org.apache.http.message, org.apache.http,
> org.apache.http.client.methods] in start level 15 but no bundle is exporting
> these for that start level.
> [ERROR] Bundle org.apache.sling.installer.factory.packages:0.1.0-SNAPSHOT is
> importing package(s) [org.apache.jackrabbit.vault.fs.io, org.slf4j,
> org.apache.sling.installer.api.tasks, javax.jcr.observation,
> org.apache.jackrabbit.vault.packaging, org.apache.sling.jcr.api, javax.jcr]
> in start level 0 but no bundle is exporting these for that start level.
> [ERROR] Bundle org.apache.sling.jcr.jackrabbit.accessmanager:3.0.4 is
> importing package(s) org.apache.sling.servlets.post in start level 15 but no
> bundle is exporting these for that start level.
> [ERROR] Bundle org.apache.sling.jcr.webdav:2.3.8 is importing package(s)
> [org.apache.sling.commons.mime, org.apache.sling.commons.osgi] in start level
> 15 but no bundle is exporting these for that start level.
> [ERROR] Bundle org.apache.sling.jcr.jackrabbit.usermanager:2.2.8 is importing
> package(s) [org.apache.sling.commons.osgi, org.apache.sling.servlets.post] in
> start level 15 but no bundle is exporting these for that start level.
> [ERROR] Bundle oak-blob:1.16.0 is importing package(s)
> org.apache.commons.codec.binary in start level 15 but no bundle is exporting
> these for that start level.
> [ERROR] Bundle org.apache.sling.jcr.packageinit:0.0.1-SNAPSHOT is importing
> package(s) [org.apache.commons.lang3, org.slf4j, org.apache.sling.jcr.api,
> javax.jcr, org.apache.jackrabbit.vault.packaging.registry] in start level 0
> but no bundle is exporting these for that start level.
> [ERROR] Bundle org.apache.sling.jcr.oak.server:1.2.2 is importing package(s)
> [org.apache.sling.serviceusermapping, org.apache.sling.commons.threads] in
> start level 16 but no bundle is exporting these for that start level.
> [ERROR] Bundle oak-blob-plugins:1.16.0 is importing package(s)
> [org.apache.commons.codec.binary, org.apache.commons.codec.digest] in start
> level 15 but no bundle is exporting these for that start level.
> [ERROR] Bundle org.apache.sling.jcr.base:3.0.6 is importing package(s)
> [org.apache.sling.commons.osgi, org.apache.sling.serviceusermapping] in start
> level 15 but no bundle is exporting these for that start level.
>
> I know that this is not failing Sling to start as OSGi resolves these
> dependencies during runtime but I would like to run the Analyzer to keep
> issues at bay from my own project.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)