camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <>
Subject Re: Packaging camel project (under Karaf)
Date Wed, 27 Feb 2013 21:05:54 GMT

you probably should try to build your own features file and use it in
conjunction with the maven-karaf-features plugin to
create your own pre-packaged Karaf distribution.
Unfortunately since our change to svn-pub-sub the documentation disappeared
I would have given you some
direct links to the online documentation :/
But if you search for "Custom distributions" in the available manual at
There is a sample on how to do this.

regards, Achim

[1] -

2013/2/27 Martin Stiborsk√Ĺ <>

> Hello guys,
> I'm wondering, how you are packaging yours Camel projects under Karaf?
> Sure, I found and used this:
> Good thing, I'm able to create a tarball package.
> Actually, we need to package Apache Karaf, with all dependencies, like
> Camel, various libraries plus our own bundles with Camel routes, etc - and
> package it as a RPM package.
> The problem is mainly with our own code/artifacts. On various environment,
> there might be not a internet access at the moment, and for sure there will
> be no chance to download our artifacts from our Maven.
> So all of these have to prepackaged.
> I can use the tarball package created by Maven, following the howto
> mentioned above, extract the tarball, start Karaf in our environment, with
> access to Maven, let it download all things it needs (features.xml for our
> project), then stop it, package it again and make a RPM from that.
> But I don't like this manual part I have to do :( At least for our camel
> bundles I can just place them into "deploy/" directory, but what to do with
> all the libraries? There I'd like to rather utilize
> Karaf's org.apache.karaf.features.cfg and list there all features I need to
> install. For the libraries, I have them all specified in features.xml, so
> In Karaf I can just "features:install my-project-libs" and job is done.
> So, do you know some trick, how to automate it even better? How to
> eliminate the manual part with starting Carafe and repackaging to get it
> really ready?
> --
> S pozdravem / Best regards
> Martin Stiborsk√Ĺ
> Jabber:
> Twitter:


Apache Karaf <> Committer & PMC
OPS4J Pax Web <> Committer &
Project Lead
OPS4J Pax for Vaadin <>
Commiter & Project Lead
blog <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message