Hi Cedric,
You can also update all the configuration files of the distribution
located in the etc folder, here another example on how to build custom
Karaf distribution:
https://github.com/yupiik/esb/
This is a full project with user bundle but the distribution module can
be used as an example.
Hope it will help.
regards,
François
On 14/01/2024 19:38, Cédric Jonas wrote:
Hi,
In the company I'm working for we have the following use case: provide
a central customized (branding, configuration, so called "platform
features", ...) Karaf distribution for other development teams. These
other dev teams would add further features depending on their needs.
There is much documentation around about how to build a customized
distribution (for example
https://fpapon.github.io/2020/03/21/karaf-custom-distribution/), and
that works like a charm till now.
But I was not able to find an easy way to be able to customize such a
customized distribution once more. I played around with the
karaf-maven-plugin, "<framework>custom</framework>", "distribution"
and "karafDistribution" properties, but finally that did not work as
it requires a KAR and I didn't found a way to build a KAR from our
platform distribution.
Is there any official / supported way to do this?
Thanks!