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