Hi Willem,

Thanks for the response

When I first tried to install my bundle it did firstly complain about
mongodb. 

I started adding the dependencies it asked for to my feature files one by
one. I eventually ended up with these bundles added to my servicemix
features file

         <bundle>mvn:org.mongodb/mongo-java-driver/2.9.3</bundle>

        <bundle>mvn:ch.qos.logback/logback-core/0.9.27</bundle>
        <bundle>mvn:ch.qos.logback/logback-classic/0.9.27</bundle>

        <bundle>mvn:net.liftweb/lift-common_2.9.1/2.4-M5</bundle>

        <bundle>mvn:net.liftweb/lift-actor_2.9.1/2.4-M5</bundle>
        <bundle>wrap:mvn:com.thoughtworks.paranamer/paranamer/2.3</bundle>

        <bundle>wrap:mvn:org.scala-lang/scalap/2.9.1</bundle>

        <bundle>mvn:net.liftweb/lift-json_2.9.1/2.4-M5</bundle>
        <bundle>mvn:net.liftweb/lift-util_2.9.1/2.4-M5</bundle>

        <bundle>mvn:net.liftweb/lift-webkit_2.9.1/2.4-M5</bundle>

        <bundle>mvn:net.liftweb/lift-mongodb-record_2.9.1/2.4-M5</bundle>

        <bundle>wrap:mvn:com.foursquare/rogue-lift_2.9.1/2.0.0-RC1</bundle>
                                
But I just keep getting dependency issues one after another

This is the latest dependency issue I am getting. But they just seem to go
on one after another...

                Error executing command: Could not start bundle
mvn:net.liftweb/lift-json_2.9.1/2.4-M5 in feature(s) scala-test-0.0.0:
Unresolved constraint in bundle net.liftweb.lift.json [266]: Unable to
resolve 266.0: missing requirement [266.0] osgi.wiring.package;
(&(osgi.wiring.package=scala.tools.scalap.scalax.rules.scalasig)(version>=2.9.1)(version<=2.9.1))
                
For reference I did an osgi:headers on my bundle, and I can see most of the
dependencies are from net liftweb

        Import-Package =
        com.mongodb;version="[2.9,3)",
        net.liftweb.common;version="[2.4,3)",
        net.liftweb.http;version="[2.4,3)",
        net.liftweb.http.js;version="[2.4,3)",
        net.liftweb.json;version="[2.4,3)",
        net.liftweb.mongodb;version="[2.4,3)",
        net.liftweb.mongodb.record;version="[2.4,3)",
        net.liftweb.record;version="[2.4,3)",
        net.liftweb.record.field;version="[2.4,3)",
        net.liftweb.util;version="[2.4,3)",
        org.apache.camel;version="[2.10,3)",
        org.bson.types;version="[2.9,3)",
        org.osgi.service.blueprint;version="[1.0.0,2.0.0)",
        scala,
        scala.collection,
        scala.collection.immutable,
        scala.reflect,
        scala.runtime,
        scala.xml

Am I doing something wrong? Is there any other way to resolve my
dependencies?

Thanks



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Resolving-Scala-Osgi-Dependencies-tp5716520p5716562.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to