Hi,
In my PAX-EXAM tests I have:
the problem is that if I don't add org.osgi.compendium bundle:
return 
CoreOptions.options(...wrappedBundle(mavenBundle().groupId("com.h2database").artifactId("h2").version("1.3.176")).start(),
...)
 then in logs I see exception that h2 bundle requires org.osgi.compendium 
(because of JDBC...). If I include org.osgi.compendium bundle:
return 
CoreOptions.options(...wrappedBundle(mavenBundle().groupId("com.h2database").artifactId("h2").version("1.3.176")).start(),
                
mavenBundle().groupId("org.osgi").artifactId("org.osgi.compendium").version("5.0.0").start(),
...)
 then Karaf which runs on JUnit/PAX-EXAM acts strange: for example, there is no 
"bundle:list" command (it dissapear).
When I run standalone Karaf with same settings (I add org.osgi.compendium in my 
.kar file) everything works fine.
Thank you in advance for any hint,Milan

Reply via email to