Hi Benoît, 2011/4/14 Benoît Thiébault <[email protected]>: > ...I am currently working on a project that is managed by Maven as a > multi-modules project, each module representing an OSGi bundle. What I would > like to do is to automatically generate a distributable packaging of the > project for each targeted platform. In this packaging, I would like to have > one executable (in the form of a sh scripton Linux for instance) that would > launch felix for instance, install and start all the required bundles. > > Is there such a tool ? What are the best practices to package OSGi > applications ?...
We have something like that in Sling - our maven-launchpad-plugin [1] takes a list of bundles, gets them from a Maven repository and can produce a runnable jar, a war file and a karaf descriptor. It doesn't produce a Linux script for example, but turning an executable jar into that is not too hard. See [2] for a concrete example, and ask on [email protected] for more info. -Bertrand [1] http://sling.apache.org/site/maven-launchpad-plugin.html [2] http://svn.apache.org/repos/asf/sling/trunk/launchpad/builder --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

