Sorry for disturbing. My test does not work. I get an exception on startup.
13:07:12.114 [main] INFO o.o.pax.exam.spi.DefaultExamSystem - Pax Exam
System (Version: 3.2.0) created.
13:07:12.125 [main] DEBUG o.ops4j.store.intern.TemporaryStore - Storage Area
is C:\Users\wgl\AppData\Local\Temp\1379502432123-0
13:07:12.174 [main] INFO o.o.pax.exam.junit.impl.ProbeRunner - creating
PaxExam runner for class
de.ids.acos.rtu.osgi.test.baseconfwrapperbundle.BaseConfIntegrationTest
13:07:12.179 [main] DEBUG o.ops4j.pax.exam.spi.PaxExamRuntime - Found
TestContainerFactory:
org.ops4j.pax.exam.nat.internal.NativeTestContainerFactory
ERROR: Bundle mygroup.mybundle [17] Error starting
mvn:mygroup/mybundle/1.0.0.0 (org.osgi.framework.BundleException: Unresolved
constraint in bundle mygroup.mybundle [17]: Unable to resolve 17.0: missing
requirement [17.0] osgi.wiring.package;
(osgi.wiring.package=org.apache.felix.framework))
@Configuration
public Option[] config() {
Logger root = (Logger)
LoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME);
root.setLevel(Level.WARN);
Option[] conf = options(
systemProperty("org.osgi.framework.startlevel.beginning").value("4"),
mavenBundle().groupId("mygroup").artifactId("bybundle").version("1.0.0").startLevel(2).start(),
junitBundles());
return conf;
}
Any suggestions?
Thanks and Regards!
Roland
--
View this message in context:
http://apache-felix.18485.x6.nabble.com/Integration-Tests-during-maven-lifecycle-phase-integration-test-tp5005004p5005046.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]