karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Minto van der Sluis <mi...@xup.nl>
Subject Re: Issues with creating Karaf 3 assemblies (+ sample project)
Date Wed, 07 Aug 2013 17:40:28 GMT
Hi JB,

Apologies for not being specific enough. Sure karaf uses plugin but not
as a maven extension for packaging as documented:


Anyway my initial problems were mostly my own fault by not being
specific enough. As always afterwards things look easy. However the one
thing I still haven't figured out is how to do branding for Karaf 3. It
seems to be the same as for Karaf 2, but I can't seem to be able to
include my own custom.properties in the assembly.

Any idea how to accomplish this?


Minto van der sluis

Op 7-8-2013 16:34, Jean-Baptiste Onofré schreef:
> Hi Minto,
> Karaf uses the karaf-maven-plugin for the assembly. Take a look in
> assemblies/apache-karaf, you will find just a pom that use
> karaf-maven-plugin with the kar provided in assemblies/features.
> Regards
> JB
> On 08/07/2013 01:16 PM, Minto van der Sluis wrote:
>> 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

View raw message