You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/03/22 14:27:00 UTC

[jira] [Created] (SLING-9232) Support ref files in aggregates and other mojos

Carsten Ziegeler created SLING-9232:
---------------------------------------

             Summary: Support ref files in aggregates and other mojos
                 Key: SLING-9232
                 URL: https://issues.apache.org/jira/browse/SLING-9232
             Project: Sling
          Issue Type: New Feature
          Components: Feature Model, Maven Plugins and Archetypes
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: slingfeature-maven-plugin 1.1.22


The selection for the aggregate mojo (and all other mojos which allow to select feature files) currently only allows to select features from files within the project, a classifier (again a feature of the project) or artifacts (external feature files).
This mechanism makes it complicated to let other maven plugins generate a list of features and then use them as input in the slingfeature maven plugin, for example to form an aggregate.
However, the feature model already contains the concept of ref files - text files containing a list of features.
If we now allow to select features from ref files in addition to the already available selection mechanism, other plugins can write such a ref file and it can be included.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)