camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CAMEL-9698) camel-servlet karaf feature misses dependency on camel-core
Date Fri, 11 Mar 2016 10:06:16 GMT


ASF GitHub Bot commented on CAMEL-9698:

GitHub user dzalbo opened a pull request:

    CAMEL-9698 fix for camel-servlet karaf features

    Added dependency for camel-core in camel-servlet karaf feature (so that it can be installed
without pre-installing camel-core)

You can merge this pull request into a Git repository by running:

    $ git pull master

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #894
commit 9403a8f4a4342923e1b1147ab33182c326ceb175
Author: Vladimir Dzalbo <>
Date:   2016-03-11T09:38:06Z

    CAMEL-9698 fix for camel-servlet karaf features


> camel-servlet karaf feature misses dependency on camel-core
> -----------------------------------------------------------
>                 Key: CAMEL-9698
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-servlet, karaf
>    Affects Versions: 2.16.1
>            Reporter: Vladimir Dzalbo
>            Priority: Minor
>             Fix For: 2.16.3, 2.17.0
> Installing camel-servlet fails, as it looks like the dependency on camel-core has been
removed from the features.xml
> {noformat}
> 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]";
[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([org.apache.felix.framework-5.4.0.jar:]
> 	at org.apache.felix.resolver.ResolverImpl.resolve([org.apache.felix.framework-5.4.0.jar:]
> 	at org.apache.felix.resolver.ResolverImpl.resolve([org.apache.felix.framework-5.4.0.jar:]
> 	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve([7:org.apache.karaf.features.core:4.0.4]
> 	at org.apache.karaf.features.internal.service.Deployer.deploy([7:org.apache.karaf.features.core:4.0.4]
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision([7:org.apache.karaf.features.core:4.0.4]
> 	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$[7:org.apache.karaf.features.core:4.0.4]
> 	at[:1.8.0_66]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker([:1.8.0_66]
> 	at java.util.concurrent.ThreadPoolExecutor$[:1.8.0_66]
> 	at[:1.8.0_66]
> {noformat}
> Indeed this is definition from features.xml (current SNAPSHOT version)
> {code:xml}
> <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>
> {code}

This message was sent by Atlassian JIRA

View raw message