Hi folks,

Recently I have been trying to create a Karaf 3 assembly/distribution.
Even though I have been able to create a karaf 2.3.x assembly earlier, I
am still having a hard time to create a Karaf 3 assembly.

I had trouble finding examples using the karaf 3 maven plugin for
building features and assemblies. Even karaf itself in not using the
plugin to create features or assemblies (which makes me wonder why). So
I created a little samples project to show the problems I currently
have. This project is available on github [1]. Maybe this can serve as
an example for others as well.

Currently I run into the following issues:
1) Branding
On this topic I consulted the mailing list before [2]. Unfortunately I
did not receive any replies yet.

I managed to include my own branding jar in the assembly. However I have
not been able to include my "etc/custom.properties" (which configures
the use of my branding jar) in this assembly. The assembly always seem
to have a default custom.properties file. How can this be accomplished?

2) Including my own features
While constructing this message I finally was able to get a proper
feature.xml and an assembly which includes the right dependencies.
Currently I use a custom feature.xml which gets extended by the karaf
maven plugin (feature packaging).

Any help on these issue 1 is greatly appreciated.

Regards,

Minto van der Sluis

[1] https://github.com/misl/Samples/tree/master/WicketKaraf
[2]
http://karaf.922171.n3.nabble.com/branding-Karaf-3-0-0-RC1-td4029323.html

Reply via email to