[XMLSCHEMA-61] Update to be able to build/test with Java 11 and Java 17
diff --git a/xmlschema-bundle-test/pom.xml b/xmlschema-bundle-test/pom.xml
index e3039a0..a0acc4a 100644
--- a/xmlschema-bundle-test/pom.xml
+++ b/xmlschema-bundle-test/pom.xml
@@ -118,5 +118,23 @@
<artifactId>slf4j-api</artifactId>
<version>1.7.30</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>1.7.30</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.jaxb-runtime</artifactId>
+ <version>2.3.2_1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.activation</groupId>
+ <artifactId>jakarta.activation</artifactId>
+ <version>1.2.2</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
diff --git a/xmlschema-bundle-test/src/test/java/org/apache/ws/xmlschema/bundletest/XmlSchemaBundleTest.java b/xmlschema-bundle-test/src/test/java/org/apache/ws/xmlschema/bundletest/XmlSchemaBundleTest.java
index 2133afb..4db81d3 100644
--- a/xmlschema-bundle-test/src/test/java/org/apache/ws/xmlschema/bundletest/XmlSchemaBundleTest.java
+++ b/xmlschema-bundle-test/src/test/java/org/apache/ws/xmlschema/bundletest/XmlSchemaBundleTest.java
@@ -43,6 +43,9 @@
public static Option[] configuration() {
return CoreOptions.options(
junitBundles(),
+ url("link:classpath:com.sun.activation.jakarta.activation.link"),
+ url("link:classpath:jakarta.activation-api.link"),
+ url("link:classpath:jakarta.xml.bind-api.link"),
url("link:classpath:org.apache.ws.xmlschema.core.link"),
url("link:classpath:org.apache.ws.xmlschema.walker.link"));
}