karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Issues with creating Karaf 3 assemblies (+ sample project)
Date Wed, 07 Aug 2013 14:34:44 GMT
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
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message