Dmitry,

The easiest way to do this is by creating a features descriptor that
contains a list of all the bundles you need for your application.  You
can then use the features-maven-plugin add-features-to-repo goal to
copy all the required bundles into a folder.  Once that is done, you
can use the Maven assembly plugin to package everything up.

You can find examples on how to use this in
http://svn.apache.org/viewvc/servicemix/smx4/nmr/trunk/assembly/ and
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/assembly/.
 Looking at the pom files myself now, I guess we really want to put
some effort in making this a little bit easier (either by documenting
it properly or by providing a Maven archetype or plugin) -- could you
raise a JIRA issue for this?

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/5/12 Dmitry Sklyut <[email protected]>:
> Hi All,
>
> I wonder if there is any examples or documentation on creating custom
> assemblies of karaf?
>
> I need to customize kernel a little bit to package in extra bundles and
> features as well as customize startup.properties a tiny bit.
>
> Thanks in advance
>
> Dmitry
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to