2010/5/4 Marshall Schor <[email protected]>

> Thanks, Thilo (and Adam), for explaining this.
>
> I've discovered that the maven builder-helper plugin can parse the
> version and create a bunch of properties, including osgiVersion - which
> replaces the first "-" with a ".".
>
> So here's the strategy I'm hoping will work:
>
> 1) have the maven version number for the project be x.y.z-SNAPSHOT for
> instance, with the dash.
>
> 2) Have the POM set the final build artifact name to be x.y.z.SNAPSHOT
> for instance, using the osgiVersion property.
>
>
I tried playing with version numbers a little bit for the OSGi annotators to
see if anything broke out but could not find visible issues, even if I was
able to test it only inside Felix.
This solution sounds good to me :-)
Cheers.
Tommaso

Reply via email to