You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Sahoo <sa...@oracle.com> on 2013/05/09 10:44:52 UTC

bundle-plugin removes part of version number

If I try to export a package with version 1.1.3.0.0-130509.1000.225353, 
maven-bundle-plugin exports as 1.1.3.225353. This is perhaps done by bnd 
than plugin, but since I am using bundle-plugin, I prefer asking here. 
How can I disable this smartness? AFAIK, my original version is a valid 
OSGi version, no?

Thanks,
Sahoo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: bundle-plugin removes part of version number

Posted by Neil Bartlett <nj...@gmail.com>.
Try explaining the following to a newbie:

* versions have 4 segments;
* version 1.2.3.4.5.6 is nevertheless valid, the final segment being "4.5.6";
* version 1.2.3.10.9.9 is LESS than 1.2.3.4.5.6.

I think the EG made the right call :-)

On Tue, May 14, 2013 at 1:26 PM, Peter Kriens <pe...@aqute.biz> wrote:
> Simplicity ...
>
> Kind regards,
>
>         Peter Kriens
>
> On 14 mei 2013, at 11:00, Sahoo wrote:
>
>> Hi Felix,
>>
>> I had assumed that "." was allowed in qualifier. Thanks for pointing out my mistake. If someone knows the logic behind this restriction, please mention.
>>
>> Thanks,
>> Sahoo
>> On Thursday 09 May 2013 02:25 PM, Felix Meschberger wrote:
>>> Hi Sahoo
>>>
>>> The qualifier part must not contain any dots. See http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html#Version(java.lang.String) <http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html#Version%28java.lang.String%29>
>>>
>>> Regards
>>> Felix
>>>
>>> --
>>> Felix Meschberger  |  Principal Scientist  | fmeschbe@adobe.com <ma...@adobe.com>
>>>
>>> Am 09.05.2013 um 10:45 schrieb "Sahoo" <sanjeeb.sahoo@oracle.com <ma...@oracle.com>>:
>>>
>>>> If I try to export a package with version 1.1.3.0.0-130509.1000.225353,
>>>> maven-bundle-plugin exports as 1.1.3.225353. This is perhaps done by bnd
>>>> than plugin, but since I am using bundle-plugin, I prefer asking here.
>>>> How can I disable this smartness? AFAIK, my original version is a valid
>>>> OSGi version, no?
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org <ma...@felix.apache.org>
>>>> For additional commands, e-mail: users-help@felix.apache.org <ma...@felix.apache.org>
>>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: bundle-plugin removes part of version number

Posted by Peter Kriens <pe...@aqute.biz>.
Simplicity ...

Kind regards,

	Peter Kriens

On 14 mei 2013, at 11:00, Sahoo wrote:

> Hi Felix,
> 
> I had assumed that "." was allowed in qualifier. Thanks for pointing out my mistake. If someone knows the logic behind this restriction, please mention.
> 
> Thanks,
> Sahoo
> On Thursday 09 May 2013 02:25 PM, Felix Meschberger wrote:
>> Hi Sahoo
>> 
>> The qualifier part must not contain any dots. See http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html#Version(java.lang.String) <http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html#Version%28java.lang.String%29>
>> 
>> Regards
>> Felix
>> 
>> -- 
>> Felix Meschberger  |  Principal Scientist  | fmeschbe@adobe.com <ma...@adobe.com>
>> 
>> Am 09.05.2013 um 10:45 schrieb "Sahoo" <sanjeeb.sahoo@oracle.com <ma...@oracle.com>>:
>> 
>>> If I try to export a package with version 1.1.3.0.0-130509.1000.225353,
>>> maven-bundle-plugin exports as 1.1.3.225353. This is perhaps done by bnd
>>> than plugin, but since I am using bundle-plugin, I prefer asking here.
>>> How can I disable this smartness? AFAIK, my original version is a valid
>>> OSGi version, no?
>>> 
>>> Thanks,
>>> Sahoo
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org <ma...@felix.apache.org>
>>> For additional commands, e-mail: users-help@felix.apache.org <ma...@felix.apache.org>
>>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: bundle-plugin removes part of version number

Posted by Sahoo <sa...@oracle.com>.
Hi Felix,

I had assumed that "." was allowed in qualifier. Thanks for pointing out 
my mistake. If someone knows the logic behind this restriction, please 
mention.

Thanks,
Sahoo
On Thursday 09 May 2013 02:25 PM, Felix Meschberger wrote:
> Hi Sahoo
>
> The qualifier part must not contain any dots. See 
> http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html#Version(java.lang.String) 
> <http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html#Version%28java.lang.String%29>
>
> Regards
> Felix
>
> -- 
> Felix Meschberger  |  Principal Scientist  | fmeschbe@adobe.com 
> <ma...@adobe.com>
>
> Am 09.05.2013 um 10:45 schrieb "Sahoo" <sanjeeb.sahoo@oracle.com 
> <ma...@oracle.com>>:
>
>> If I try to export a package with version 1.1.3.0.0-130509.1000.225353,
>> maven-bundle-plugin exports as 1.1.3.225353. This is perhaps done by bnd
>> than plugin, but since I am using bundle-plugin, I prefer asking here.
>> How can I disable this smartness? AFAIK, my original version is a valid
>> OSGi version, no?
>>
>> Thanks,
>> Sahoo
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org 
>> <ma...@felix.apache.org>
>> For additional commands, e-mail: users-help@felix.apache.org 
>> <ma...@felix.apache.org>
>>


Re: bundle-plugin removes part of version number

Posted by Felix Meschberger <fm...@adobe.com>.
Hi Sahoo

The qualifier part must not contain any dots. See http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/Version.html#Version(java.lang.String)

Regards
Felix

--
Felix Meschberger  |  Principal Scientist  |  fmeschbe@adobe.com<ma...@adobe.com>

Am 09.05.2013 um 10:45 schrieb "Sahoo" <sa...@oracle.com>>:

If I try to export a package with version 1.1.3.0.0-130509.1000.225353,
maven-bundle-plugin exports as 1.1.3.225353. This is perhaps done by bnd
than plugin, but since I am using bundle-plugin, I prefer asking here.
How can I disable this smartness? AFAIK, my original version is a valid
OSGi version, no?

Thanks,
Sahoo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org<ma...@felix.apache.org>
For additional commands, e-mail: users-help@felix.apache.org<ma...@felix.apache.org>