I have already made such a plugin, Richard is testing it.
Kind regards,
Peter Kriens
NH> Gang,
NH> I have had a quick look at Peter Kriens' BND program.
NH> http://www.aqute.biz/php/tools/bnd.php
NH> I like what I see, and propose that we provide a Maven plugin around it, and
NH> possibly deprecate the current one. People who wants to maintain the current
NH> is of course free to do so, but sooner or later the one at Felix should be
NH> the prefer one, if you want to go down that route.
NH> Back to Peter's work;
NH> He writes;
NH> <quote>
NH> Introduction
NH> The bnd tool helps you create and diagnose bundles. The key functions are:
NH> * Show the manifest and JAR contents of a bundle
NH> * Wrap a JAR so that it becomes a bundle
NH> * Create a Bundle from a specification and a class path
NH> * Verify the valdity of the manifest entries
NH> The tool is capabable of acting as:
NH> * Command line tool
NH> * Eclipse plugin
NH> * Ant Task
NH> * Maven Plugin
NH> </quote>
NH> Instead of embedding everything inside the POM, he has been smart enough to
NH> keep the meta-info external.
NH> +----------------+ +--------------+ +----------+
NH> | BND definition | --> | BND compiler | --> | Manifest |
NH> | file | +--------------+ +----------+
NH> +----------------+ |
NH> | (and/or) +------------+
NH> +-----------> | Bundle Jar |
NH> +------------+
NH> This fact makes it a lot easier to integrate into build systems and IDEs.
NH> My suggestion is that we make a new Maven OSGi plugin, that takes BND
formats,
NH> calls the BND system to generate the Jar. We could also implement a
NH> back-compatibility feature, where the current plugin format results in
NH> generation of a BND file, which is then processed.
NH> It will also allow me to spice up the IDEA OSGi plugin I am working on, to
NH> store the data in BND file, instead of trying to resolve the Maven POM into
NH> something meaningful.
NH> WDYT?
NH> Cheers
NH> Niclas
NH> _______________________________________________
NH> general mailing list
NH> [email protected]
NH> http://lists.ops4j.org/mailman/listinfo/general
--
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general