>       For felix projects we increment the version number on release, so
>
>       1.7.0-SNAPSHOT >> 1.8.0

...which is technically wrong.
By incrementing the minor version number component you are stating that there 
is an implementor-breaking change... which there is not.
It should be:

1.7.0-SNAPSHOT >> 1.7.1

for it to adhere to the semantic versioning guidelines.
If only OSGi would have chosen to make qualifiers decrease the version instead 
of increasing it we would not have this problem...

-Stijn


-----Original Message-----
From: David Jencks [mailto:[email protected]] 
Sent: donderdag 7 november 2013 8:32
To: [email protected]
Subject: Re: obr:deploy and bundle versions

For felix projects we increment the version number on release, so 

1.7.0-SNAPSHOT >> 1.8.0
1.6.1-SNAPSHOT >> 1.6.2
etc.

david jencks

On Nov 6, 2013, at 1:05 PM, Benoît Thiébault <[email protected]> wrote:

> OK, but how do you manage your OBR then? Only deploy final versions?
> 
> "Richard S. Hall" <[email protected]> a écrit :
> 
>> This is a known issue between how Maven interprets the -SNAPSHOT 
>> qualifier and how OSGi interprets version qualifiers. For Maven, the 
>> -SNAPSHOT qualifier is less that the actual version specified, but 
>> for OSGi qualifiers are just sorted so a qualified version is greater 
>> (i.e.,
>> newer) than an unqualified version.
>> 
>> -> richard
>> 
>> On 11/6/13, 11:48 , Benoît Thiébault wrote:
>>> Hi,
>>> 
>>> I have been playing with OSGi bundle repositories lately and noticed the 
>>> following behaviour.
>>> 
>>> In Felix (4.0.2), after adding my OBR URL, I type "obr:deploy my-bundle".
>>> 
>>> On the OBR, I have 2 versions available of this bundle:
>>> - 1.0.7
>>> - 1.0.7-SNAPSHOT
>>> 
>>> By default, Felix deploys the SNAPSHOT version. Is this an expected 
>>> behaviour?
>>> 
>>> I know I can force the use of a given version, but I was surprise by the 
>>> default behaviour.
>>> 
>>> Moreover, if my-bundle depends on a "my-bundle2" bundle, that itself is 
>>> available in SNAPSHOT and final versions, the SNAPSHOT is chosen by 
>>> default...
>>> 
>>> Thanks for your help,
>>> 
>>> Kind regards,
>>> 
>>> Ben
>>> --------------------------------------------------------------------
>>> - To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
> B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
> KCB  [  X  ܚX KK[XZ[
 \ \  ][  X  ܚX P [^
 \X K ܙ B  ܈Y][ۘ[  [X[  K[XZ[
 \ \  Z[ [^
 \X K ܙ B


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

Reply via email to