SLING-9101 Update Pax Exam to 4.13.2
* Update Pax Exam
* Update and align test dependencies
diff --git a/pom.xml b/pom.xml
index 21662c7..0ffe41a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,7 +43,7 @@
</scm>
<properties>
- <org.ops4j.pax.exam.version>4.13.1</org.ops4j.pax.exam.version>
+ <org.ops4j.pax.exam.version>4.13.2</org.ops4j.pax.exam.version>
</properties>
<build>
@@ -67,6 +67,7 @@
</execution>
</executions>
<configuration>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
<systemProperties>
<property>
<name>bundle.filename</name>
@@ -105,7 +106,7 @@
</dependency>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>osgi.cmpn</artifactId>
+ <artifactId>org.osgi.service.cm</artifactId>
<scope>test</scope>
</dependency>
<dependency>
@@ -134,7 +135,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.testing.paxexam</artifactId>
- <version>3.0.0</version>
+ <version>3.1.0</version>
<scope>test</scope>
</dependency>
<!-- logging -->
@@ -187,7 +188,7 @@
<dependency>
<groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-aether</artifactId>
- <version>2.6.1</version>
+ <version>2.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/src/test/java/org/apache/sling/commons/classloader/it/ClassloaderTestSupport.java b/src/test/java/org/apache/sling/commons/classloader/it/ClassloaderTestSupport.java
index 9023d33..546a202 100644
--- a/src/test/java/org/apache/sling/commons/classloader/it/ClassloaderTestSupport.java
+++ b/src/test/java/org/apache/sling/commons/classloader/it/ClassloaderTestSupport.java
@@ -21,6 +21,7 @@
import org.ops4j.pax.exam.Option;
import static org.apache.sling.testing.paxexam.SlingOptions.config;
+import static org.apache.sling.testing.paxexam.SlingOptions.eventadmin;
import static org.apache.sling.testing.paxexam.SlingOptions.paxUrl;
import static org.ops4j.pax.exam.CoreOptions.junitBundles;
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
@@ -35,6 +36,7 @@
// Sling Commons Classloader
testBundle("bundle.filename"),
config(),
+ eventadmin(),
// testing
paxUrl(),
mavenBundle().groupId("org.ops4j.pax.url").artifactId("pax-url-aether").versionAsInProject(),