Carsten Ziegeler created SLING-9503:
---------------------------------------

             Summary: Add control over variable replacement in feature models
                 Key: SLING-9503
                 URL: https://issues.apache.org/jira/browse/SLING-9503
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model, Maven Plugins and Archetypes
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Slingstart Maven Plugin 1.9.14, slingfeature-maven-plugin 
1.3.6


When a project feature model is read, a variable replacement based on the maven 
project is performed over the whole feature text file
While the initial idea was to support "project.*" variables in the "id" of the 
feature, it ended up as a way too flexible replacement mechanism
Variables are replaced in an unpredictable way, especially as also system 
properties are used for replacement - which might result in having a different 
replacement on different builds.

We should limit the replacement to the feature id - and only support 
"project.*" variables there - and to a *configured* set of properties.



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

Reply via email to