[
https://issues.apache.org/jira/browse/SLING-8350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989984#comment-16989984
]
Andreas Schaefer commented on SLING-8350:
-----------------------------------------
As far as I understand in the Future projects are not updated but rather the
entire Sling instance is built and installed. With that all modules like Sling,
3rd party code and customer projects need to be merged into one Sling FM and
then launched.
Of course, the customer can write their FM by hand and include all the
necessary bundles into it but that would be cumbersome the least and also error
prone. Another way is to use released FMs like Sling, 3rd party modules or even
internal modules to built up the final FM.
With that we would need a way to create, install and deploy Maven module FMs.
These module FMs are not just a wrapper around a bundle but can also contain
dependencies and repo-init statements (maybe more). For example the some Sling
modules need System Users for the Service Resource Registry and that can be
defined in their FM. So the Sling Distribution does not need manual work as
including its FM would make sure the System User(s) is created when added to
the project.
With the Sling Starter we might be able to use FMs in the similar way as PMs
but that might not work with optional modules like Sling Distribution. From my
point of view having Maven module FMs is a logical first step when looking at
the aggregation of FMs and so we should provide this. If we use this in Sling
Starter is another discussion.
> Switch the Sling starter to the feature model
> ---------------------------------------------
>
> Key: SLING-8350
> URL: https://issues.apache.org/jira/browse/SLING-8350
> Project: Sling
> Issue Type: Improvement
> Components: Starter
> Reporter: Robert Munteanu
> Assignee: Andreas Schaefer
> Priority: Major
> Fix For: Starter 12
>
>
> This is pretty straightforward, but we also need to have a way of generating
> the jar and war files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)