Hi all does anyone know how to correctly setup pax-eam for karaf? Which version of pax-exam do I need?
What bundles Do I have to include in my features so that the blueprint services are coming up? Regards Michael ----- Weitergeleitete Mail ----- Von: "Toni Menzel" <[email protected]> An: "General OPS4J" <[email protected]> CC: "Michael Szalay" <[email protected]> Gesendet: Dienstag, 15. März 2011 14:09:40 Betreff: Re: Problem while testing Apache Karaf Hi Michael, You are using some extra runtime bundle from the Karaf project: org.apache.felix.karaf.tooling.testing This looks like importing something, that - at least i - did not intend to have available at runtime at all. So its 2 folds: - check if the version of org.apache.felix.karaf.tooling.testing you are using is compatible (from karaf docs e.g.) with pax exam 1.2.3 (which you are using appealingly) - or file an issue on the Karaf Issue Tracker As a side effect, i am currently porting the karaf stuff to be usable with Exam2 as part of the compatibility (Exam 1.x to 2.0) effort. But this should not stress you. I just mention it because i may be able to tell you more about what you are doing wrong while i am progressing. But better check with Karaf friends directly, too. Cheers, Toni On Tue, Mar 15, 2011 at 1:55 PM, Michael Szalay < [email protected] > wrote: Hi all I want to setup a integration test infrastructure for my OSGi blueprint projects. We use Apache Karaf as a framework. I wrote my JUnit test and installed my features. Now I have the unresolved dependency: Unresolved constraint in bundle org.apache.felix.karaf.tooling.testing [12]: Unable to resolve 12.0: missing requirement [12.0] package; (package=org.ops4j.pax.exam.container.def) - [12.0] package; (package=org.ops4j.pax.exam.container.def) My question: where do I find this dependency as a bundle? I tried the following <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-container-default</artifactId> <version>1.2.3</version> <scope>test</scope> </dependency> But this is not a bundle, just a jar, right? Regards Michael -- Michael Szalay Senior Software Engineer basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22 http://www.basis06.ch - source of smart business _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general -- Toni Menzel - http://www.okidokiteam.com
