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

Jean-Baptiste Onofré commented on CAMEL-14629:
----------------------------------------------

[~catshout] I'm back on this issue. I will create a PR.

> Install of camel-jackson on Karaf 4.2.7 w/ Camel 3.1.0 causes an error (same 
> worked with Karaf 4.2.7 w/ Camel 3.0.1)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-14629
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14629
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jackson
>    Affects Versions: 3.1.0
>            Reporter: Gerald Kallas
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 3.1.1
>
>
> I tried to upgrade from Karaf 4.2.7 w/ Camel 3.0.1 towards Karaf 4.2.7 w/ 
> Camel 3.1.0. Same behaviour also with Karaf 4.2.8 w/ Camel 3.1.0
>  
> While executing these commands
>  
>  
> {code:java}
> karaf@root()>  feature:repo-add hawtio 2.9.1
> Adding feature url mvn:io.hawt/hawtio-karaf/2.9.1/xml/features
> karaf@root()>  feature:repo-add activemq 5.15.11
> Adding feature url mvn:org.apache.activemq/activemq-karaf/5.15.11/xml/features
> karaf@root()>  feature:repo-add camel 3.1.0
> Adding feature url mvn:org.apache.camel.karaf/apache-camel/3.1.0/xml/features
> karaf@root()>  feature:install webconsole hawtio activemq-broker-noweb camel 
> camel-jms jms camel-http camel-jetty camel-swagger-java camel-ftp 
> camel-jackson camel-jsonpath camel-zipfile camel-velocity camel-groovy  {code}
>  
> I'm getting the following error
>  
>  
> {code:java}
> org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: 
> missing requirement [root] osgi.identity; osgi.identity=camel-jackson; 
> type=karaf.feature; version="[3.1.0,3.1.0]"; 
> filter:="(&(osgi.identity=camel-jackson)(type=karaf.feature)(version>=3.1.0)(version<=3.1.0))"
>  [caused by: Unable to resolve camel-jackson/3.1.0: missing requirement 
> [camel-jackson/3.1.0] osgi.identity; 
> osgi.identity=org.apache.camel.camel-jackson; type=osgi.bundle; 
> version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve 
> org.apache.camel.camel-jackson/3.1.0: missing requirement 
> [org.apache.camel.camel-jackson/3.1.0] osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.module.jaxb)(version>=2.9.0)(!(version>=3.0.0)))"
>  [caused by: Unable to resolve 
> com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2: missing 
> requirement 
> [com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2] 
> osgi.wiring.package; filter:="(&(osgi.wiring.package=  
> javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"]]] at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
>  at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392) 
> at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378) at 
> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332) at 
> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
>  at 
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:393) 
> at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062)
>  at 
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748) Caused by: 
> org.apache.felix.resolver.reason.ReasonException: Unable to resolve 
> camel-jackson/3.1.0: missing requirement [camel-jackson/3.1.0] osgi.identity; 
> osgi.identity=org.apache.camel.camel-jackson; type=osgi.bundle; 
> version="[3.1.0,3.1.0]"; resolution:=mandatory [caused by: Unable to resolve 
> org.apache.camel.camel-jackson/3.1.0: missing requirement 
> [org.apache.camel.camel-jackson/3.1.0] osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.module.jaxb)(version>=2.9.0)(!(version>=3.0.0)))"
>  [caused by: Unable to resolve 
> com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2: missing 
> requirement 
> [com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2] 
> osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"]]
>  at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
>  ... 12 more Caused by: org.apache.felix.resolver.reason.ReasonException: 
> Unable to resolve org.apache.camel.camel-jackson/3.1.0: missing requirement 
> [org.apache.camel.camel-jackson/3.1.0] osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.module.jaxb)(version>=2.9.0)(!(version>=3.0.0)))"
>  [caused by: Unable to resolve 
> com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2: missing 
> requirement 
> [com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2] 
> osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"]
>  at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
>  ... 13 more Caused by: org.apache.felix.resolver.reason.ReasonException: 
> Unable to resolve 
> com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2: missing 
> requirement 
> [com.fasterxml.jackson.module.jackson-module-jaxb-annotations/2.10.2] 
> osgi.wiring.package; 
> filter:="(&(osgi.wiring.package=javax.xml.bind)(version>=2.3.0)(!(version>=3.0.0)))"
>  at 
> org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
>  ... 14 more{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to