Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.16.1
-
None
-
Novice
Description
Installing camel-servlet fails, as it looks like the dependency on camel-core has been removed from the features.xml
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-servlet; type=karaf.feature; version="[2.16.1,2.16.1]"; filter:="(&(osgi.identity=camel-servlet)(type=karaf.feature)(version>=2.16.1)(version<=2.16.1))" [caused by: Unable to resolve camel-servlet/2.16.1: missing requirement [camel-servlet/2.16.1] osgi.identity; osgi.identity=org.apache.camel.camel-servlet; type=osgi.bundle; version="[2.16.1,2.16.1]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-servlet/2.16.1: missing requirement [org.apache.camel.camel-servlet/2.16.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.camel)(version>=2.16.0)(!(version>=2.17.0)))"]] at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:235)[org.apache.felix.framework-5.4.0.jar:] at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:158)[org.apache.felix.framework-5.4.0.jar:] at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)[7:org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[7:org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)[7:org.apache.karaf.features.core:4.0.4] at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)[7:org.apache.karaf.features.core:4.0.4] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_66] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_66] at java.lang.Thread.run(Thread.java:745)[:1.8.0_66]
Indeed this is definition from features.xml (current SNAPSHOT version)
<feature name='camel-servlet' version='${project.version}' resolver='(obr)' start-level='50'> <details> camel-servlet need to access the http OSGi services </details> <feature>http</feature> <bundle>mvn:org.apache.camel/camel-http-common/${project.version}</bundle> <bundle>mvn:org.apache.camel/camel-servlet/${project.version}</bundle> </feature>