2009/2/3 Heiko Seeberger <[email protected]>

> Stuart,
>
> I hoped to hear that ;-)
>
> I am using the current snapshot. Could you please give me a hint what
> instruction I have to enter in my poms?
> I tried the following but that did not work:
>
> <Import-Package>*;-versionpolicy:=[${version;==;$...@}},${version;=+;$...@}})</Import-Package>
>

"-versionpolicy" (or <_versionpolicy> if you're using XML) as I understand
it is a
Bnd Tool command, not a package attribute - you probably want something
like:

  <_versionpolicy>[${version;==;$...@}},${version;=+;$...@}})</_versionpolicy>

if you want to apply a policy to specific packages you should use the
"version" macro:


<Import-Package>org.osgi.framework;version="[${version;==;$...@}},${version;=+;$...@}})</Import-Package>

HTH

Thanx
> Heiko
>
>
> On 03.02.2009, at 08:52, Stuart McCulloch wrote:
>
>  2009/2/3 Heiko Seeberger <[email protected]>
>>
>>  Hi,
>>>
>>> I would like to ask if there are any plans for the Maven Bundle Plugin to
>>> support -versionpolicy?
>>>
>>>
>> the version of Bnd Tool in the latest 1.5.0-SNAPSHOT supports
>> versionpolicy
>> [ there are 2 outstanding issues that I need to fix before I can stage a
>> release ]
>>
>>
>>  Thanx
>>> Heiko
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>  --
>> Cheers, Stuart
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Cheers, Stuart

Reply via email to