OK - I'll wait until you've committed this in Karaf then. Thanks,
/Bengt 2013/1/3 Jean-Baptiste Onofré <j...@nanthrax.net> > I think that pax-exam 2.6 (and dependencies like swissbox, etc) should be > enough. > > Anyway, I gonna update for Karaf 2.3.1. > > Regards > JB > > > On 01/03/2013 10:10 AM, Bengt Rodehav wrote: > >> I've had the exact same problem and have really been scratching my head... >> >> Dan, can you share exactly what you put in the dependency management >> section? >> >> /Bengt >> >> >> 2013/1/3 mikevan <mvangeert...@comcast.net >> <mailto:mvangeertruy@comcast.**net <mvangeert...@comcast.net>>> >> >> >> Great catch, Dan! >> >> On 1/2/2013 9:47 PM, dantran [via Karaf] wrote: >> > Looks like it is a bug under pax-exam 2.4, by forcing my maven >> build >> > to pickup pax-exam 2.6 via dependencyManagement fixes the issue. >> > >> > My guess karaf 2.3.1-SNAPSHOT also seeing the same issue, so >> upgrading >> > to pax-exam 1.6 would fix it as well >> > >> > -Dan >> > >> > >> > On Wed, Jan 2, 2013 at 7:13 PM, Dan Tran <[hidden email] >> > </user/SendEmail.jtp?type=**node&node=4027176&i=0>> wrote: >> > >> > > Hi >> > > >> > > My pax-exam test started to fail with the following trace >> > > >> > > java.lang.Exception: Could not start bundle >> > > mvn:org.ops4j.pax.swissbox/**pax-swissbox-core/ in feature(s) >> > > exam-2.4.0: Unresolved constraint in bundle >> > > org.ops4j.pax.swissbox.core [68]: Unable to resolve >> > > 68.0: missing requirement [68.0] osgi.wiring.package; >> > > (&(osgi.wiring.package=org.**ops4j.lang)(version>=1.4.0)) >> > > at >> > >> org.apache.karaf.features.**internal.FeaturesServiceImpl.** >> installFeatures(**FeaturesServiceImpl.java:476)[** >> 20:org.apache.karaf.features.**core:2.3.0] >> > > at >> > >> org.apache.karaf.features.**internal.FeaturesServiceImpl$** >> 2.run(FeaturesServiceImpl.**java:1141)[20:org.apache.** >> karaf.features.core:2.3.0] >> > > Caused by: org.osgi.framework.**BundleException: Unresolved >> constraint >> > > in bundle org.ops4j.pax.swissbox.core [68]: Unable to resolve >> 68.0: >> > > missing requirement [68.0] osgi.wiring.package; (&(osgi.wiring. >> > > package=org.ops4j.lang)(**version>=1.4.0)) >> > > at >> > >> org.apache.felix.framework.**Felix.resolveBundleRevision(** >> Felix.java:3826)[org.apache.**felix.framework-4.0.3.jar:] >> > > at >> > >> org.apache.felix.framework.**Felix.startBundle(Felix.java:** >> 1868)[org.apache.felix.**framework-4.0.3.jar:] >> > > at >> > >> org.apache.felix.framework.**BundleImpl.start(BundleImpl.** >> java:944)[org.apache.felix.**framework-4.0.3.jar:] >> > > at >> > >> org.apache.felix.framework.**BundleImpl.start(BundleImpl.** >> java:931)[org.apache.felix.**framework-4.0.3.jar:] >> > > at >> > >> org.apache.karaf.features.**internal.FeaturesServiceImpl.** >> installFeatures(**FeaturesServiceImpl.java:473)[** >> 20:org.apache.karaf.features.**core:2.3.0] >> > > ... 1 more >> > > >> > > >> > > Further investigation points to a generated feature file under >> my exam >> > > directory with this name examfeatures.xml >> > > >> > > <?xml version="1.0" encoding="UTF-8"?> >> > > <features name="pax-exam-features-2.4.0"**> >> > > <feature name="exam" version="2.4.0"> >> > > >> > > <bundle >> > start-level='5'>mvn:org.ops4j.**base/ops4j-base-lang/1.3.0</** >> bundle> >> > > <bundle >> > start-level='5'>mvn:org.ops4j.**base/ops4j-base-monitors/1.3.** >> 0</bundle> >> > > <bundle >> start-level='5'>mvn:org.ops4j.**base/ops4j-base-net/1.3.0</**bundle> >> > > <bundle >> > start-level='5'>mvn:org.ops4j.**base/ops4j-base-store/1.3.0</** >> bundle> >> > > <bundle >> start-level='5'>mvn:org.ops4j.**base/ops4j-base-io/1.3.0</**bundle> >> > > <bundle >> start-level='5'>mvn:org.ops4j.**base/ops4j-base-spi/1.3.0</**bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**base/ops4j-base-util-property/** >> 1.3.0</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**pax.swissbox/pax-swissbox-** >> core/</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**pax.swissbox/pax-swissbox-** >> extender/</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**pax.swissbox/pax-swissbox-** >> lifecycle/</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**pax.swissbox/pax-swissbox-** >> framework/</bundle> >> > > <bundle >> start-level='5'>mvn:org.ops4j.**pax.exam/pax-exam/2.4.0</**bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**pax.exam/pax-exam-extender-** >> service/2.4.0</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**pax.exam/pax-exam-container-** >> rbc/2.4.0</bundle> >> > > <bundle start-level='5'>wrap:mvn:**junit/junit/4.10</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.ops4j.**pax.exam/pax-exam-invoker-** >> junit/2.4.0</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.**apache.karaf.tooling.exam/org.** >> apache.karaf.tooling.exam.**options/2.3.0</bundle> >> > > <bundle >> > >> start-level='5'>mvn:org.**apache.geronimo.specs/** >> geronimo-atinject_1.0_spec/1.**0</bundle> >> > > <bundle >> > start-level='5'>mvn:org.ops4j.**pax.exam/pax-exam-inject/2.4.** >> 0</bundle> >> > > </feature> >> > > </features> >> > > >> > > >> > > Where pax-swissbox-xxx bundles do not have associated version, by >> > > default it would pickup the latest version 1.6 ( release on >> > > 12/26/2012), instead of 1.5.1 and cause the failure >> > > >> > > How do I fix this? Adding those artifact into my test >> dependencies >> > > does not work either >> > > >> > > Thanks >> > > >> > > -Dan >> > >> > >> > >> ------------------------------**------------------------------** >> ------------ >> > If you reply to this email, your message will be added to the >> > discussion below: >> > >> http://karaf.922171.n3.nabble.**com/My-Karaf-PaxExam-test-** >> mysteriously-fails-after-new-**year-tp4027175p4027176.html<http://karaf.922171.n3.nabble.com/My-Karaf-PaxExam-test-mysteriously-fails-after-new-year-tp4027175p4027176.html> >> > >> > To start a new topic under Karaf - User, email >> > >> ml-node+s922171n930749h71@n3.**nabble.com<ml-node%2bs922171n930749...@n3.nabble.com> >> >> <mailto:ml-node%**2Bs922171n930749h71@n3.nabble.**com<ml-node%252bs922171n930749...@n3.nabble.com> >> > >> >> > To unsubscribe from Karaf - User, click here >> > >> <http://karaf.922171.n3.**nabble.com/template/** >> NamlServlet.jtp?macro=**unsubscribe_by_code&node=**930749&code=** >> bXZhbmdlZXJ0cnV5QGNvbWNhc3Qubm**V0fDkzMDc0OXwtNjA0ODc4OTY2<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=930749&code=bXZhbmdlZXJ0cnV5QGNvbWNhc3QubmV0fDkzMDc0OXwtNjA0ODc4OTY2> >> >. >> > NAML >> > >> <http://karaf.922171.n3.**nabble.com/template/** >> NamlServlet.jtp?macro=macro_**viewer&id=instant_html%** >> 21nabble%3Aemail.naml&base=**nabble.naml.namespaces.** >> BasicNamespace-nabble.view.**web.template.NabbleNamespace-** >> nabble.naml.namespaces.**BasicNamespace-nabble.view.** >> web.template.NabbleNamespace-**nabble.view.web.template.** >> NodeNamespace&breadcrumbs=**notify_subscribers%21nabble%** >> 3Aemail.naml-instant_emails%**21nabble%3Aemail.naml-send_** >> instant_email%21nabble%**3Aemail.naml<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > >> > >> >> >> >> >> >> ----- >> Mike Van (All links open in new tabs) >> Committer - Kalumet >> >> Atraxia Technologies >> >> Mike Van's Open Source Technologies Blog >> -- >> View this message in context: >> http://karaf.922171.n3.nabble.**com/My-Karaf-PaxExam-test-** >> mysteriously-fails-after-new-**year-tp4027175p4027177.html<http://karaf.922171.n3.nabble.com/My-Karaf-PaxExam-test-mysteriously-fails-after-new-year-tp4027175p4027177.html> >> Sent from the Karaf - User mailing list archive at Nabble.com. >> >> >> > -- > Jean-Baptiste Onofré > jbono...@apache.org > http://blog.nanthrax.net > Talend - http://www.talend.com >