[
https://issues.apache.org/jira/browse/SLING-9046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17030718#comment-17030718
]
A. J. David Bosschaert commented on SLING-9046:
-----------------------------------------------
Right I was wondering how to reliably detect this. Embedding jars inside a
bundle which are referenced via the {{Bundle-ClassPath}} is completely valid
and legal, as these are not separate bundles, but just embedded classes which
become part of the enclosing bundle.
I guess we could check for embedded bundles and flag them if they are _not_
referenced in the Bundle-ClassPath but I'm not sure if that's 100% reliable...
> Provide analyser that checks bundles for embedded bundles
> ---------------------------------------------------------
>
> Key: SLING-9046
> URL: https://issues.apache.org/jira/browse/SLING-9046
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model Analyser
> Reporter: Radu Cotescu
> Priority: Major
> Fix For: Feature Model Analyser 1.2.6
>
>
> When using the feature model, a bundle should not embed other bundles. The
> feature launcher and the framework should manage bundle lifecycles, not
> bundles.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)