You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2018/10/19 11:55:00 UTC

[jira] [Created] (SLING-8042) The slingfeature-maven-plugin should be able to derive the name of a feature from the file name

Radu Cotescu created SLING-8042:
-----------------------------------

             Summary: The slingfeature-maven-plugin should be able to derive the name of a feature from the file name
                 Key: SLING-8042
                 URL: https://issues.apache.org/jira/browse/SLING-8042
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model
            Reporter: Radu Cotescu


The {{slingfeature-maven-plugin}} should be able to derive the name of a feature from the file name, if the name is missing from the feature definition.

Assuming a file called {{my-feature.json}}, with the following contents:
{noformat}
{
    "id" : "${project.groupId}:${project.artifactId}:slingfeature:${project.version}",

    "bundles" :[
       ...
    ]
}
{noformat}

then the {{slingfeature-maven-plugin}} should infer that the feature it's building is called {{my-feature}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)