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/20 06:40:00 UTC
[jira] [Updated] (SLING-8842) CP Converter creates packaging
"slingfeature" instead of "slingosgifeature"
[ https://issues.apache.org/jira/browse/SLING-8842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-8842:
------------------------------------
Fix Version/s: Feature Model Converter 1.0.14
> CP Converter creates packaging "slingfeature" instead of "slingosgifeature"
> ---------------------------------------------------------------------------
>
> Key: SLING-8842
> URL: https://issues.apache.org/jira/browse/SLING-8842
> Project: Sling
> Issue Type: Bug
> Components: Feature Model
> Affects Versions: Feature Model Converter 1.0.8
> Reporter: Mika Goeckel
> Priority: Minor
> Fix For: Feature Model Converter 1.0.14
>
>
> I used the sling-feature-converter-maven-plugin to create features.json files from the sling-starter provisioning txt files.
> The converter creates feature files with packaging „slingfeature“ but installes them using „slingosgifeature“.
>
> Then I use the slingfeature-maven-plugin to create a „full“ version from the files created above. The -full file has an „assembled-features“ section containing the single feature files with packaging „slingfeature“, itself on the other hand declares a packaging „slingosgifeature“.
>
> Now I try to use the -full feature json as prototype for my own feature.json.
> When I now use slingfeature-maven-plugin to assemble the artifacts, it tries to find them with packaging „slingfeature“ (as declared in the assembled-section) – but can't find them as they have been installed as „slingosgifeature“.
>
> Could it be, that this is coming from FeatureJSONWriter Line 519:
>
> // When providing a classifier a type must be provided and so we set it to 'slingfeature'
> idString =
> groupId + "/" +
> (nameOption.isEmpty() ? name : nameOption) + "/" +
> version +
> (nameOption.isEmpty() ? "" :
> "/slingfeature/" + name );
--
This message was sent by Atlassian Jira
(v8.3.4#803005)