Claus Ibsen created SM-2627:
-------------------------------

             Summary: 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


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)

Reply via email to