You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2019/06/17 12:56:02 UTC
[jira] [Closed] (SLING-7738) Slingstart Maven Plugin should allow
substitution of project coordinates in feature model files
[ https://issues.apache.org/jira/browse/SLING-7738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls closed SLING-7738.
-----------------------------
> Slingstart Maven Plugin should allow substitution of project coordinates in feature model files
> -----------------------------------------------------------------------------------------------
>
> Key: SLING-7738
> URL: https://issues.apache.org/jira/browse/SLING-7738
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model, Maven Plugins and Archetypes
> Affects Versions: Slingstart Maven Plugin 1.8.2
> Reporter: David Bosschaert
> Assignee: David Bosschaert
> Priority: Major
> Fix For: Slingstart Maven Plugin 1.8.4
>
>
> In order to avoid duplication of information, feature model files processed via maven should support basic variable substitution so that they can inherit certain properties from the parent pom.
> These properties should include:
> {code}
> project.groupId
> project.artifactId
> project.version
> {code}
> these properties can be used in a feature file to generate their IDs, for example:
> {code}
> "id": "${project.groupId}:${project.artifactId}:feature:my-feature-model:${project.version}"
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)