[ 
https://issues.apache.org/jira/browse/SLING-8396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834501#comment-16834501
 ] 

Simone Tripodi commented on SLING-8396:
---------------------------------------

Thanks [~schaefa] for your feedback, very appreciated!

bq. Testing it with my test project it is now using the embedded bundle but the 
commons-lang bundle is kicked out in the process.

If you are using an embedded bundle, this is enough to be declared in the 
Feature Model, you don't need to enlist also the embedded libraries

bq. I have another issue with a bundle than will contain another bundle (core 
contains commons) and this one is then used as bundle and not the core.

Could you please attach a test case I can debug, please? Many thanks in advance!


> Sling Content Package to Feature Model fails with embedded Bundles
> ------------------------------------------------------------------
>
>                 Key: SLING-8396
>                 URL: https://issues.apache.org/jira/browse/SLING-8396
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: Feature Model Converter 1.0.0
>         Environment: Apache Sling 11, Mac OS X 10.13.6, Java 8
>            Reporter: Andreas Schaefer
>            Assignee: Simone Tripodi
>            Priority: Major
>
> When a content package contains an embedded bundle the bundle will not be 
> listed inside the generated FM json file if content package requires more 
> than one bundle.
> I have an ui.apps content package that has a bundle which is not provided and 
> one embedded bundle (core). The not provided bundle is listed in the json 
> file but the core is missing.
> If I have a content package with just the embedded bundle it is listed there.
> Failing json file:
> {code:json}
> {
>   "id":"com.peregrine-cms:base.ui.apps:slingosgifeature:1.0-SNAPSHOT",
>   "description":"JCR Package for the Peregrine CMS Platform including\n       
>  the Platform Core bundle.",
>   "bundles":[
>     {
>       "id":"org.apache.sling:org.apache.sling.servlet-helpers:1.1.8",
>       "start-order":"20"
>     }
>   ],
> {code}
>  
> Working json file:
> {code:json}
> {
>   "id":"com.peregrine-cms:felib.ui.apps:slingosgifeature:1.0-SNAPSHOT",
>   "description":"JCR Package for the Peregrine CMS Felib module.",
>   "bundles":[
>     {
>       "id":"com.peregrine-cms:felib.core:1.0-SNAPSHOT",
>       "start-order":"20"
>     }
>   ],
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to