I needed to deploy Dozer as an OSGi bundle in another project recently... figured you guys might want a patch for that so here you go :)
Is bundle works fine after deploying? I think, you need to define dependencies with commons-**, cglib, asm and other libraries in the Manifest file.
Shouldn't need to do that manually since the maven-bundle-plugin figures out this for you (see http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html#ApacheFelixMavenBundlePlugin\(BND)-DefaultBehavior).
Take a look at the maifest file in the generated jar for an example.
As we do not want to change our packaging type from jar to bundle I have created a separate maven module for OSGi.
Could you please check bundle uploaded to SF download site if everything works fine. If it is, I will publish dozer.osgi artifact to Maven repo,
Sorry for the delay here - I received no notifications on this issue in my email... I updated to trunk rev 999 and tested out the new dozer-osgi artifact in my environment. Works great!
Thanks, I will release it to maven repo this week.
Since 5.2.1 release Dozer is available as osgi bundle as well.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.