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

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

GitHub user xldai opened a pull request:

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

    fix CAMEL-10249

    upgrade hawtdispatch-version to 1.22

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

    $ git pull https://github.com/xldai/camel patch-2

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

    https://github.com/apache/camel/pull/1126.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 #1126
    
----
commit 89cfe93f94bae678abd5743229a6e63abac7324e
Author: Xilai Dai <[email protected]>
Date:   2016-08-18T03:45:28Z

    fix CAMEL-10249

----


> The hawtdispatch-version should be 1.22 in the 
> apache-camel-2.17.3-features.xml
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-10249
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10249
>             Project: Camel
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 2.17.3
>         Environment: Java 8
>            Reporter: Xilai Dai
>            Priority: Minor
>             Fix For: 2.17.4
>
>
> The error is thrown when try to install the camel-mqtt feature into karaf 
> container.
> {code}
> karaf@root()> feature:install camel-mqtt
> Error executing command: Unable to resolve root: missing requirement [root] 
> osgi.identity; osgi.identity=camel-mqtt; typ
> e=karaf.feature; version="[2.17.3,2.17.3]"; 
> filter:="(&(osgi.identity=camel-mqtt)(type=karaf.feature)(version>=2.17.3)(v
> ersion<=2.17.3))" [caused by: Unable to resolve camel-mqtt/2.17.3: missing 
> requirement [camel-mqtt/2.17.3] osgi.identity
> ; osgi.identity=org.apache.camel.camel-mqtt; type=osgi.bundle; 
> version="[2.17.3,2.17.3]"; resolution:=mandatory [caused
> by: Unable to resolve org.apache.camel.camel-mqtt/2.17.3: missing requirement 
> [org.apache.camel.camel-mqtt/2.17.3] osgi.
> wiring.package; 
> filter:="(&(osgi.wiring.package=org.fusesource.hawtdispatch)(version>=1.22.0)(!(version>=2.0.0)))"]]
> {code}
> The reason is mqtt-client expect org.fusesource.hawtdispatch.*;version=1.22, 
> but it define hawtdispatch 1.21 in the apache-camel-2.17.3-features.xml
> {code}
>     <bundle 
> dependency='true'>mvn:org.fusesource.hawtdispatch/hawtdispatch/1.21</bundle>
>     <bundle 
> dependency='true'>mvn:org.fusesource.hawtdispatch/hawtdispatch-transport/1.21</bundle>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to