Hi Roy,

On Tue, 2025-03-04 at 20:42 +0100, Roy Teeuwen wrote:
> - The cp2fm is a cli and not a maven plugin, so I can't just easily
> execute it on my "all" package to convert it to a feature model file

Have you tried using
https://github.com/apache/sling-feature-converter-maven-plugin ?

> - When trying to do it manually, it converts the "all" package to a
> feature model and adds the artifacts folder. The artifacts mentioned
> don't seem to match the maven pom coordinates anymore because they
> don't contain a pom inside the original jar
> => If I now want to use this, how can I tell the slingfeature-maven-
> plugin or the feature-launcher-maven-plugin to use the local
> generated maven repo for the artifacts and combine this with the
> artifacts coming from the sling 13 osgi feature to create and launch
> the aggregated feature

I guess with a PR to the feature-launcher-maven-plugin :-) 

And yes, there is a known issue with losing the original GAV of the
Maven artifacts in case, see [1] and [2].

[1]: https://issues.apache.org/jira/browse/SLING-10791
[2]: https://issues.apache.org/jira/browse/SLING-10790

Thanks,
Robert

Reply via email to