felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Pierce <jondavid...@gmail.com>
Subject Re: maven-bundle-plugin: dynamically add custom imports
Date Thu, 08 Mar 2012 22:35:28 GMT
Thanks,

Sorry for the delay.  That was exactly what I was looking for.

Jonathan

On Sat, Mar 3, 2012 at 2:32 PM, Neil Bartlett <njbartlett@gmail.com> wrote:

> 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 <jondavid.nd@gmail.com>
> 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message