Appendix A. Building bundles
Throughout this book, you’ve been building OSGi bundles with the bnd tool, using Ant to manage the builds. If you’re a fan of Maven, you may be feeling a bit left out at this point, but don’t worry. You can build bundles with Maven using the same bnd instructions, thanks to the maven-bundle-plugin. To build a bundle, all you really need is the ability to customize the JAR manifest; you don’t need to change to an OSGi-specific build system. On the other hand, the more a build system understands about what it’s building, the more it can assist you—so which build systems work particularly well with OSGi?
We start by revisiting bnd and Ant, but this time explaining the various bnd instructions used in the book along ...
Get OSGi in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.