Hello,

I am trying to generate OSGi bundles corresponding to a Apache Tuscany
distribution to run Tuscany under OSGi. Tuscany uses around 170 third party
libraries, and since I dont want to write 170 pom.xmls to convert each of
those into a bundle, the 'bundleall' goal provided by maven-bundle-plugin
looks like a very promising alternative. I have a couple of questions
related to 'bundleall' (I am using maven-bundle-plugin version
1.1.0-SNAPSHOT).

   1. Is it possible to get all the jars wrapped by bundleall to be added
   to an OBR repository? I tried
<obrRepository>myrepository.xml</obrRepository>,
   but the resulting repository file does not contain entries for the
   dependencies.
   2. Is it possible to specify that I want to wrap only the highest
   version of the jars (whichever version maven normally resolves to)? Many of
   the 3rd party libraries used by Tuscany have dependencies on other 3rd party
   libraries. When I run "bundleall", all of the versions of these dependencies
   get wrapped. Since Tuscany is normally run outside of OSGi, the Tuscany
   distribution uses maven to obtain a single version of each of the third
   party libraries. I would to like to insert an OSGi manifest into this single
   version, so that Tuscany can be optionally run inside OSGi.




Thank you...

Regards,

Rajini

Reply via email to