<!-- Pax exam -->
<!-- only runner -->
+ <!--
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-paxrunner</artifactId>
</dependency>
+ -->
<!-- only runner -->
+ <!--
<dependency>
<groupId>org.ops4j.pax.runner</groupId>
<artifactId>pax-runner-no-jcl</artifactId>
</dependency>
+ -->
<!-- both runner and native -->
</dependency>
<!-- only native -->
- <!--
+
<dependency>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-native</artifactId>
</dependency>
- -->
+
<!-- only native -->
- <!--
+
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-aether</artifactId>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-wrap</artifactId>
</dependency>
- -->
+
<!-- only native -->
- <!--
+
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
</dependency>
- -->
-
+
</dependencies>
return options(
cleanCaches(),
// Test dependencies
- wrappedBundle(mavenBundle().groupId("junit")
- .artifactId("junit-dep").version("4.8.2")), //
- mavenBundle().groupId("org.mockito").artifactId("mockito-all")
- .version("1.8.5"), //
+ // wrappedBundle(mavenBundle().groupId("junit")
+ // .artifactId("junit-dep").version("4.8.2")), //
+ // mavenBundle().groupId("org.mockito").artifactId("mockito-all")
+ // .version("1.8.5"), //
// junitBundles(),
// mockitoBundles(),
+ systemPackages("org.mockito", "org.junit"),
+
// XML Router API packages.
mavenBundle().groupId("org.wamblee.xmlrouter")
.artifactId("xmlrouter-common").versionAsInProject(),//
System.out.println("=== Got context " + aContext);
Destination dest = mock(Destination.class);
- // verify(dest, never()).receive(any(DOMSource.class));
ServiceRegistration registration = aContext.registerService(
Destination.class.getName(), dest, null);