On 16 March 2011 11:22, Felix Meschberger <[email protected]> wrote:
> Hi,
>
> Good thing !
>
> Some remarks:
>
> Re. Bundles: A bundle should never exist as a non-SNAPSHOT version in
> the trunk (except during the short period of time during which Maven
> generates the version tag). As such immediately after a release the
> bundle version switches to x.y.(z+1)-SNAPSHOT.

The suggestion is to only move to x.y.(z+1)-SNAPSHOT when the first
change is made to trunk. If trunk is identical to the last release,
then the version in the pom is left alone.

>
> Re. Bundles: I think it is solely the task of the RM to decide on the
> version to be released. But there should be some guidelines like the
> OSGi semantic versioning. On point to note (and extending OSGi's paper)
> is that in Felix and Sling we generally release even versions and have
> odd versions being SNAPSHOTs. E.g:
>
>    x.y.1-SNAPSHOT
>    x.y.2
>    x.y.3-SNAPSHOT
>    x.y.4
>
> The reason for this is that x.y.z.SNAPSHOT > x.y.z in OSGi version
> speak, which is of course not true in real life (and Maven speak).

When would this be a problem? If a dependent module (someone else's
for example) depends on x.y.1 in their <version> element I wouldn't
expect maven to pick a snapshot. If it did, then a lot of release
processes would be broken - picking snapshots instead of releases. So
that makes me think I've misunderstood what you're saying. Can you
expand a bit?

>
> FYI: This is how we do it in Sling:
> http://sling.apache.org/site/version-policy.html.
>
> Regards
> Felix
>
> Am Mittwoch, den 16.03.2011, 09:20 +0000 schrieb zoe slattery:
>> Hi - as I work through making the changes to be able to release by
>> bundle we will need to start following an agreed version policy for
>> packages and bundles.
>> I've drafted something on the wiki (website). Please review it and
>> comment back to the list.
>>
>> http://aries.apache.org/development/versionpolicy.html
>>
>> Thanks, Zoë
>
>
>

Reply via email to