On Mon, Feb 7, 2011 at 10:05, Christian Schneider
<ch...@die-schneider.net> wrote:
> Hi all,
>
> I just had mail exchange with Guillaume on the karaf list about their number
> scheme for snapshots.
> There I told him that we use an ant script to create the osgi version from
> the maven version 2.7.0-SNAPSHOT -> 2.7.0.qualifier
> (At least that was how I remembered we do it).
>
> Guillaume told me that the maven bundle plugin from version 2.1.0 upwards
> supports this conversion so I think we could switch to this version and
> perhaps get rid of some ant logic.
> Do you also think that makes sense?

I think we should definitely upgrade to the latest version.  There's
one under vote which has improvements to support flagging imported
packages as optional if they come from an optioanl maven dependency,
so maybe we could wait a few days and experiment with that too.  In
addition, there's a {local-packages} macro which should definitely
help generating the osgi metadata too.

>
> To check how we really do it I grepped the source for bundle-plugin. There I
> found that the content of osgi.version.clean seems to contain 2.7-SNAPSHOT.
> Is that correct?

Not sure what you mean here, but the conversion should be 2.7-SNAPSHOT
-> 2.7.0.SNAPSHOT

>
> Christian
>
> --
> ----
> http://www.liquid-reality.de
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to