[
https://issues.apache.org/jira/browse/SLING-8529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Schaefer updated SLING-8529:
------------------------------------
Fix Version/s: (was: Content-Package to Feature Model Converter 1.0.0)
Content-Package to Feature Model Converter 1.0.2
> Avoid flattening of subpackages during convertion in featuremodel
> -----------------------------------------------------------------
>
> Key: SLING-8529
> URL: https://issues.apache.org/jira/browse/SLING-8529
> Project: Sling
> Issue Type: New Feature
> Components: Content-Package to Feature Model Converter
> Affects Versions: Content-Package to Feature Model Converter 1.0.0
> Reporter: Simone Tripodi
> Assignee: Simone Tripodi
> Priority: Major
> Fix For: Content-Package to Feature Model Converter 1.0.2
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> During testing of various valid scenarios it became apparent that certain
> dependency scenarios for nested subpackages might start failing. If packages
> start to depend on each other or even deeper nested packages depend on each
> other we currently do not preserve the right order when flattening).
> Instead the subpackages should be extracted (like bundles) and the implicit
> dependency to the (converted) parent package be made explicit (add dependency
> if not already existing.
> The solution would mean:
> * subpackages are extracted from the package and no longer handled as
> subpackages
> * the subpackages get an additional explicit dependency on the parent
> package (that was previously implicitly present)
> * the feature model contains all the converted packages and subpackages
> instead of a flattened one
> * converted package and converted subpackages end up in the defined cache
> folder
--
This message was sent by Atlassian Jira
(v8.3.4#803005)