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 2018/10/19 17:18:00 UTC
[jira] [Resolved] (SLING-8042) The slingfeature-maven-plugin should
be able to derive the name of a feature from the file name
[ https://issues.apache.org/jira/browse/SLING-8042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-8042.
-------------------------------------
Resolution: Fixed
Implemented this as explained above in rev 0a11d70
The special handling of a feature named "feature.json" is not needed as the special handling has already been done by the AttachFeaturesMojo
> 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
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: slingfeature-maven-plugin 1.0.0
>
>
> 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)