camel-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/CAMEL-9698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190750#comment-15190750
] 

ASF GitHub Bot commented on CAMEL-9698:
---------------------------------------

GitHub user dzalbo opened a pull request:

    https://github.com/apache/camel/pull/894

    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 https://github.com/dzalbo/camel master

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

    https://github.com/apache/camel/pull/894.patch

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 <v.dzalbo@mielooandalexander.com>
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: https://issues.apache.org/jira/browse/CAMEL-9698
>             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]";
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]
> {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
(v6.3.4#6332)

Mime
View raw message