For a better track, create https://issues.apache.org/jira/browse/CAMEL-7317 for 
this issue
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat



On 2014-3-20, at 上午10:14, Freeman Fang wrote:

> Hi,
> 
> When OBR resolver is available, If the bundle in features.xml has 
> dependency="true" which means if there's on other bundle in this feature 
> explicitly depend on this bundle than it won't get installed, this should be 
> the  problem you run into.
> 
> I saw the xml-specs-api is actually in camel features.xml, could you please 
> create a camel jira so that we can track it there.
> -------------
> Freeman(Yue) Fang
> 
> Red Hat, Inc. 
> FuseSource is now part of Red Hat
> 
> 
> 
> On 2014-3-19, at 下午4:59, Schulze, Jan wrote:
> 
>> Hi,
>> 
>> I am trying to add features to the ServiceMix 4.5.3 minimal assembly. When I 
>> do "features:install camel-blueprint" in Karaf, I get the following error 
>> message:
>> 
>> Error executing command: Can not resolve feature:
>> Unsatisfied requirement(s):
>> ---------------------------
>> package:(&(package=javax.xml.bind))
>>      camel-blueprint
>> package:(&(package=javax.xml.bind.annotation.adapters))
>>      camel-blueprint
>> package:(&(package=javax.xml.bind.annotation))
>>      camel-blueprint
>> 
>> I checked that "features:listurl" returns the correct repositories. I also 
>> checked that those repositories are available and can be accessed from Karaf.
>> I looked at the "apache-camel-2.10.7-features.xml" file and saw that 
>> "camel-blueprint" depends on "camel-core" which depends on "xml-specs-api".
>> 
>> The problem seems to be, that the bundles under the "xml-specs-api" feature 
>> do not get installed. After installing them manually, e.g. "osgi:install 
>> mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.2.0",
>>  I can do "features:install camel-blueprint" without any errors, and the 
>> features "camel-blueprint", "camel-core" and "xml-specs-api" are listed when 
>> I do "features:list --installed".
>> 
>> I have a similar problem when trying "features:install cxf". In this case, 
>> there are much more bundles, that are not being installed automatically. 
>> Installing them manually as well would be quite some work.
>> 
>> The "apache-camel-2.10.7-features.xml" file states "resolver='(obr)'". I 
>> checked, that "Apache Karaf :: Features :: OBR Resolver (2.2.11)" is 
>> installed an running.
>> 
>> Am I missing something obvious? Any clues how to get all dependencies to 
>> install automatically?
>> 
>> 
>> Regards,
>> --
>> Jan Schulze
> 

Reply via email to