You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/08/03 18:20:05 UTC

[jira] [Issue Comment Deleted] (SM-2627) hbase bundles are flawed

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

Jean-Baptiste Onofré updated SM-2627:
-------------------------------------
    Comment: was deleted

(was: Actually, it's due to hbase bundle export lot of packages that it should not.

I'm excluding the artifacts in dependencies.)

> hbase bundles are flawed
> ------------------------
>
>                 Key: SM-2627
>                 URL: https://issues.apache.org/jira/browse/SM-2627
>             Project: ServiceMix
>          Issue Type: Task
>          Components: bundles
>            Reporter: Claus Ibsen
>            Assignee: Jean-Baptiste Onofré
>             Fix For: bundles-2015.07
>
>
> hbase uses commons-io 2.4 as dependency
> {code}
> [INFO] +- org.apache.hbase:hbase-client:jar:0.98.5-hadoop2:compile
> [INFO] |  +- org.apache.hbase:hbase-common:jar:0.98.5-hadoop2:compile
> [INFO] |  +- org.apache.hbase:hbase-protocol:jar:0.98.5-hadoop2:compile
> [INFO] |  +- commons-io:commons-io:jar:2.4:compile
> [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
> [INFO] |  +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
> [INFO] |  +- io.netty:netty:jar:3.6.6.Final:compile
> {code}
> But the SMX wrapped bundle pull in the older 1.x version
> {code}
> ERROR: Bundle org.apache.servicemix.bundles.hbase [146] Error starting mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hbase/0.98.5-hadoop2_2 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.hbase [146]: Unable to resolve 146.0: missing requirement [146.0] osgi.wiring.package; (&(osgi.wiring.package=org.codehaus.jackson.jaxrs)(version>=1.4.0)(!(version>=2.0.0))))
> org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.hbase [146]: Unable to resolve 146.0: missing requirement [146.0] osgi.wiring.package; (&(osgi.wiring.package=org.codehaus.jackson.jaxrs)(version>=1.4.0)(!(version>=2.0.0)))
> 	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
> 	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
> 	at java.lang.Thread.run(Thread.java:744)
> {code}
> This is the problem with this bundle
> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hbase/0.98.5-hadoop2_2/



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