Ok, solved, my mistake, sorry :) I modified the groupId of my bundle and I
forgot to update my features file.. so it was installing the old bundle
from my m2 repository.

Thanks and sorry for the confusion!

2014-12-02 20:01 GMT+01:00 Jean-Baptiste Onofré <[email protected]>:

> Hi,
>
> Are you sure the version is the feature ?
> I mean the api bundle really export the api.infrastructure package ?
> Does it work if you install the bundles by hand ?
>
> If the bundles installation work, can you try:
>
> <feature name="network-api" version="${project.version}">
>   <bundle>mvn:org.mqnaas/network.api/${project.version}</bundle>
> </feature>
> <feature name="network" version="${project.version}">
>   <feature version="${project.version}">network-api</feature>
>   <bundle>mvn:org.mqnaas/network.impl/${project.version}</bundle>
> </feature>
>
> Regards
> JB
>
> On 12/02/2014 03:40 PM, Adrián Roselló Rey wrote:
>
>> Hi!
>>
>> Im trying to deploy a feature in Karaf, but I found some problems with
>> my features declaration. My scenario looks like this:
>>
>> /
>> <feature name="network" version="${project.version}">
>>
>>          <bundle>mvn:org.mqnaas/network.api/${project.version}</bundle>
>>          <bundle>mvn:org.mqnaas/network.impl/${project.version}</bundle>
>> </feature>/
>>
>> The network.api bundle exports packages required by the network.impl.
>> When I imanually nstall the bundles, they start without problems (first
>> the network.api and then the network.impl one). But when I try to
>> install the feature, I get following message:
>>
>> /Error executing command: Could not start bundle
>> mvn:org.mqnaas/network.impl/0.0.1-SNAPSHOT in feature(s)
>> network-0.0.1-SNAPSHOT: Unresolved constraint in bundle network.impl
>> [82]: Unable to resolve 82.0: missing requirement [82.0]
>> osgi.wiring.package;
>> (osgi.wiring.package=org.mqnaas.network.api.infrastructure)/
>>
>> Is there any way to initialize this feature? I tried with start-levels
>> as well, but without sucess.
>>
>> Thanks and best regards,
>>
>> Adrián Roselló Rey
>>
>>
>> --
>> /
>> Adrián Roselló Rey
>> Distributed Applications and Networks Area (DANA)
>> i2CAT Foundation, Barcelona, Spain
>> /
>> T: +34 93 553 25 49
>> http://dana.i2cat.net
>>
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 




*Adrián Roselló Rey Distributed Applications and Networks Area (DANA) i2CAT
Foundation, Barcelona, Spain*
T: +34 93 553 25 49
http://dana.i2cat.net

Reply via email to