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

Alex Dettinger commented on CAMEL-12083:
----------------------------------------

I was able to install almost all features  with karaf 4.1.2:
* camel-chunk/2.21.0.SNAPSHOT
* camel-hessian/2.21.0.SNAPSHOT
* camel-jsonpath/2.21.0.SNAPSHOT
* camel-kura/2.21.0.SNAPSHOT

However, feature:install *camel-json-validator* reports:
{code:borderStyle=solid}
2017-12-14 18:41:31,768 | INFO  | tall camel-chunk | FeaturesServiceImpl        
      | 9 - org.apache.karaf.features.core - 4.1.2 | Adding features: 
camel-json-validator/[2.21.0.SNAPSHOT,2.21.0.SNAPSHOT]
2017-12-14 18:41:31,856 | ERROR | nsole user karaf | ShellUtil                  
      | 42 - org.apache.karaf.shell.core - 4.1.2 | Exception caught while 
executing command
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing 
requirement [root] osgi.identity; osgi.identity=camel-json-validator; 
type=karaf.feature; version="[2.21.0.SNAPSHOT,2.21.0.SNAPSHOT]"; 
filter:="(&(osgi.identity=camel-json-validator)(type=karaf.feature)(version>=2.21.0.SNAPSHOT)(version<=2.21.0.SNAPSHOT))"
 [caused by: Unable to resolve camel-json-validator/2.21.0.SNAPSHOT: missing 
requirement [camel-json-validator/2.21.0.SNAPSHOT] osgi.identity; 
osgi.identity=org.apache.camel.camel-json-validator; type=osgi.bundle; 
version="[2.21.0.SNAPSHOT,2.21.0.SNAPSHOT]"; resolution:=mandatory [caused by: 
Unable to resolve org.apache.camel.camel-json-validator/2.21.0.SNAPSHOT: 
missing requirement [org.apache.camel.camel-json-validator/2.21.0.SNAPSHOT] 
osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.everit.json.schema.loader)(version>=1.6.0)(!(version>=2.0.0)))"
 [caused by: Unable to resolve org.everit.json.schema/1.6.1: missing 
requirement [org.everit.json.schema/1.6.1] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.json)(version>=20171018.0.0)(!(version>=20171019.0.0)))"]]]
        at 
org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) 
~[?:?]
        at 
org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389) ~[?:?]
...
        at java.lang.Thread.run(Thread.java:745) [?:?]
{code}

> Some camel karaf features errors
> --------------------------------
>
>                 Key: CAMEL-12083
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12083
>             Project: Camel
>          Issue Type: Task
>          Components: karaf
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.21.0
>
>
> When you validate the features some of them fail
> [WARNING] Feature resolution failed for [camel-chunk/2.21.0.SNAPSHOT]
> [WARNING] Feature resolution failed for [camel-hessian/2.21.0.SNAPSHOT]
> [WARNING] Feature resolution failed for [camel-json-validator/2.21.0.SNAPSHOT]
> [WARNING] Feature resolution failed for [camel-jsonpath/2.21.0.SNAPSHOT]
> [WARNING] Feature resolution failed for [camel-kura/2.21.0.SNAPSHOT]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to