[ 
https://issues.apache.org/jira/browse/CAMEL-11472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Markevich updated CAMEL-11472:
-------------------------------------
    Affects Version/s:     (was: 2.17.6)
                       2.18.4
          Description: 
{noformat}
karaf@root()> repo-add 
mvn:org.apache.camel.karaf/apache-camel/2.18.4/xml/features
Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.18.4/xml/features
karaf@root()> feature:install camel-box
Error executing command: Unable to resolve root: missing requirement [root] 
osgi.identity; osgi.identity=camel-box; type
=karaf.feature; version="[2.18.4,2.18.4]"; 
filter:="(&(osgi.identity=camel-box)(type=karaf.feature)(version>=2.18.4)(ver
sion<=2.18.4))" [caused by: Unable to resolve camel-box/2.18.4: missing 
requirement [camel-box/2.18.4] osgi.identity; os
gi.identity=org.apache.camel.camel-box; type=osgi.bundle; 
version="[2.18.4,2.18.4]"; resolution:=mandatory [caused by: U
nable to resolve org.apache.camel.camel-box/2.18.4: missing requirement 
[org.apache.camel.camel-box/2.18.4] osgi.wiring.
package; filter:="(osgi.wiring.package=com.gargoylesoftware.htmlunit)" [caused 
by: Unable to resolve org.apache.servicem
ix.bundles.htmlunit/2.22.0.1: missing requirement 
[org.apache.servicemix.bundles.htmlunit/2.22.0.1] osgi.wiring.package;
 
filter:="(&(osgi.wiring.package=org.eclipse.jetty.websocket.api)(version>=9.2.0)(!(version>=10.0.0)))"
 [caused by: Unab
le to resolve org.eclipse.jetty.websocket.api/9.3.14.v20161028: missing 
requirement [org.eclipse.jetty.websocket.api/9.3
.14.v20161028] osgi.identity; 
osgi.identity=pax-jetty-condition-pax_http_whiteboard; type=karaf.feature; 
version="[9.3.1
4.v20161028,9.3.14.v20161028]"; resolution:=mandatory [caused by: Unable to 
resolve pax-jetty-condition-pax_http_whitebo
ard/9.3.14.v20161028: missing requirement 
[pax-jetty-condition-pax_http_whiteboard/9.3.14.v20161028] osgi.identity; osgi
.identity=pax-http-whiteboard; type=karaf.feature; 
condition:=true]]]]]{noformat}

workaround:
{noformat}
karaf@root()> feature:install pax-http-whiteboard
karaf@root()> feature:install camel-box
{noformat}


  was:
{noformat}
karaf@root()> repo-add 
mvn:org.apache.camel.karaf/apache-camel/2.17.6/xml/features
Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.17.6/xml/features
karaf@root()> feature:install camel-box
Error executing command: Unable to resolve root: missing requirement [root] 
osgi.identity; osgi.identity=camel-box; type
=karaf.feature; version="[2.17.6,2.17.6]"; 
filter:="(&(osgi.identity=camel-box)(type=karaf.feature)(version>=2.17.6)(ver
sion<=2.17.6))" [caused by: Unable to resolve camel-box/2.17.6: missing 
requirement [camel-box/2.17.6] osgi.identity; os
gi.identity=org.apache.camel.camel-box; type=osgi.bundle; 
version="[2.17.6,2.17.6]"; resolution:=mandatory [caused by: U
nable to resolve org.apache.camel.camel-box/2.17.6: missing requirement 
[org.apache.camel.camel-box/2.17.6] osgi.wiring.
package; filter:="(osgi.wiring.package=com.gargoylesoftware.htmlunit)" [caused 
by: Unable to resolve org.apache.servicem
ix.bundles.htmlunit/2.20.0.1: missing requirement 
[org.apache.servicemix.bundles.htmlunit/2.20.0.1] osgi.wiring.package;
 
filter:="(&(osgi.wiring.package=org.eclipse.jetty.websocket.client)(version>=9.2.0)(!(version>=10.0.0)))"
 [caused by: U
nable to resolve org.eclipse.jetty.websocket.client/9.3.14.v20161028: missing 
requirement [org.eclipse.jetty.websocket.c
lient/9.3.14.v20161028] osgi.wiring.package; 
filter:="(&(osgi.wiring.package=org.eclipse.jetty.websocket.common.scopes)(
version>=9.3.14)(!(version>=9.3.15)))" [caused by: Unable to resolve 
org.eclipse.jetty.websocket.common/9.3.14.v20161028
: missing requirement [org.eclipse.jetty.websocket.common/9.3.14.v20161028] 
osgi.wiring.package; filter:="(&(osgi.wiring
.package=org.eclipse.jetty.websocket.api.util)(version>=9.3.14)(!(version>=9.3.15)))"
 [caused by: Unable to resolve org.
eclipse.jetty.websocket.api/9.3.14.v20161028: missing requirement 
[org.eclipse.jetty.websocket.api/9.3.14.v20161028] osg
i.identity; osgi.identity=pax-jetty-condition-pax_http_whiteboard; 
type=karaf.feature; version="[9.3.14.v20161028,9.3.14
.v20161028]"; resolution:=mandatory [caused by: Unable to resolve 
pax-jetty-condition-pax_http_whiteboard/9.3.14.v201610
28: missing requirement 
[pax-jetty-condition-pax_http_whiteboard/9.3.14.v20161028] osgi.identity; 
osgi.identity=pax-http
-whiteboard; type=karaf.feature; condition:=true]]]]]]]
{noformat}

workaround:
{noformat}
karaf@root()> feature:install pax-http-whiteboard
karaf@root()> feature:install camel-box
{noformat}



> [camel-box] missing Karaf feature dependency
> --------------------------------------------
>
>                 Key: CAMEL-11472
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11472
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-box
>    Affects Versions: 2.18.4
>         Environment: Karaf 4.1.1
>            Reporter: Alexey Markevich
>            Assignee: Andrea Cosentino
>         Attachments: camel-box.patch
>
>
> {noformat}
> karaf@root()> repo-add 
> mvn:org.apache.camel.karaf/apache-camel/2.18.4/xml/features
> Adding feature url mvn:org.apache.camel.karaf/apache-camel/2.18.4/xml/features
> karaf@root()> feature:install camel-box
> Error executing command: Unable to resolve root: missing requirement [root] 
> osgi.identity; osgi.identity=camel-box; type
> =karaf.feature; version="[2.18.4,2.18.4]"; 
> filter:="(&(osgi.identity=camel-box)(type=karaf.feature)(version>=2.18.4)(ver
> sion<=2.18.4))" [caused by: Unable to resolve camel-box/2.18.4: missing 
> requirement [camel-box/2.18.4] osgi.identity; os
> gi.identity=org.apache.camel.camel-box; type=osgi.bundle; 
> version="[2.18.4,2.18.4]"; resolution:=mandatory [caused by: U
> nable to resolve org.apache.camel.camel-box/2.18.4: missing requirement 
> [org.apache.camel.camel-box/2.18.4] osgi.wiring.
> package; filter:="(osgi.wiring.package=com.gargoylesoftware.htmlunit)" 
> [caused by: Unable to resolve org.apache.servicem
> ix.bundles.htmlunit/2.22.0.1: missing requirement 
> [org.apache.servicemix.bundles.htmlunit/2.22.0.1] osgi.wiring.package;
>  
> filter:="(&(osgi.wiring.package=org.eclipse.jetty.websocket.api)(version>=9.2.0)(!(version>=10.0.0)))"
>  [caused by: Unab
> le to resolve org.eclipse.jetty.websocket.api/9.3.14.v20161028: missing 
> requirement [org.eclipse.jetty.websocket.api/9.3
> .14.v20161028] osgi.identity; 
> osgi.identity=pax-jetty-condition-pax_http_whiteboard; type=karaf.feature; 
> version="[9.3.1
> 4.v20161028,9.3.14.v20161028]"; resolution:=mandatory [caused by: Unable to 
> resolve pax-jetty-condition-pax_http_whitebo
> ard/9.3.14.v20161028: missing requirement 
> [pax-jetty-condition-pax_http_whiteboard/9.3.14.v20161028] osgi.identity; osgi
> .identity=pax-http-whiteboard; type=karaf.feature; 
> condition:=true]]]]]{noformat}
> workaround:
> {noformat}
> karaf@root()> feature:install pax-http-whiteboard
> karaf@root()> feature:install camel-box
> {noformat}



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

Reply via email to