Jonathan,

Since the bundle-plugin uses Bnd internally, you can use Bnd plugins.
See: http://www.aqute.biz/Bnd/Plugins

Bnd already has plugins for things like Blueprint and Spring-DM to
discover the class references inside; you could use these as examples
for parsing your own XML format.

Regards
Neil

On Sat, Mar 3, 2012 at 1:02 PM, Jonathan Pierce <[email protected]> wrote:
> I'm working on a legacy project that we are converting into a set of OSGi
> bundles.  Part of the configuration information for one of the bundles is a
> custom xml file (not blueprint or spring ds), that contains references to
> classes.
>
> I'd like some way to parse our custom xml file at build time and add any of
> the packages found there to the instructions for the maven-bundle-plugin.
>
> I was wondering if there is any easy way to do this, without having to
> replace the maven-bundle-plugin with our own custom plugin.
>
> Thanks,
> Jonathan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to