[
https://issues.apache.org/jira/browse/SLING-8626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905622#comment-16905622
]
Andreas Schaefer commented on SLING-8626:
-----------------------------------------
There is another issue. According to
[https://bnd.bndtools.org/chapters/800-headers.html] the Bundle-Name header can
contain spaces and for example for groovy-all.jar package the Bundle-Name is
'Groovy Runtime'.
The converted is placing that a file under this folder and the Sling Feature
Maven Plugin is failing because of it.
To illustrate the issue I created another branch on the test project:
[https://github.com/schaefa/cpconverter-ssue-fm-starter/tree/issue/bundle-name]
> Content Package Converter is taking Group from Package Group instead of from
> Maven Group
> ----------------------------------------------------------------------------------------
>
> Key: SLING-8626
> URL: https://issues.apache.org/jira/browse/SLING-8626
> Project: Sling
> Issue Type: Bug
> Components: Content-Package to Feature Model Converter
> Environment: Sling 11, Java 8
> Reporter: Andreas Schaefer
> Priority: Major
>
> There are two issues with the Content Package to Feature Model Converter with
> respect to groups:
> # If a group is set in the Content Package then this group will be used in
> the Feature Id as well as for the folder where it is created
> # If anything changes in the Content Package Vault properties then this will
> not be reflected in the conversion on a Mac (10.14, Mojave). This is because
> the deflated file remains the same and in my testing the file did not change
> even though the package did.
> The issue with the group is severe as the original POM file and the
> 'cp2fm-converted' file are not in the same location causing issues with the
> launcher at least.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)