diff --git a/assemblies/features/base/pom.xml b/assemblies/features/base/pom.xml
index bcfbd98..e81f3ab 100644
--- a/assemblies/features/base/pom.xml
+++ b/assemblies/features/base/pom.xml
@@ -37,6 +37,59 @@
+
+ javax.xml.bind
+ jaxb-api
+ 2.3.0
+
+
+ javax.activation
+ activation
+ 1.1.1
+
+
+ com.sun.xml.bind
+ jaxb-core
+ ${jaxb.version}
+
+
+ org.glassfish.jaxb
+ jaxb-core
+
+
+ org.glassfish.jaxb
+ txw2
+
+
+
+
+ com.sun.xml.bind
+ jaxb-impl
+ ${jaxb.version}
+
+
+ javax.xml.bind
+ jsr173_api
+
+
+ javax.xml
+ jsr173
+
+
+ javax.activation
+ activation
+
+
+ javax.xml.bind
+ activation
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
org.apache.karaf.specs
org.apache.karaf.specs.locator
@@ -135,25 +188,26 @@
- org.apache.karaf.specs
- org.apache.karaf.specs.locator
- target/classes/resources/lib/endorsed
+ javax.xml.bind
+ jaxb-api
+ target/classes/resources/lib/boot
- org.apache.karaf.specs
- org.apache.karaf.specs.java.xml
- target/classes/resources/lib/endorsed
+ javax.activation
+ activation
+ target/classes/resources/lib/boot
- org.apache.karaf.specs
- org.apache.karaf.specs.java.xml.ws
- target/classes/resources/lib/endorsed
+ com.sun.xml.bind
+ jaxb-core
+ target/classes/resources/lib/boot
- org.apache.karaf.specs
- org.apache.karaf.specs.activator
+ com.sun.xml.bind
+ jaxb-impl
target/classes/resources/lib/boot
+
org.apache.karaf
org.apache.karaf.main
diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf
index 36c0ca6..9cea2aa 100644
--- a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf
+++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf
@@ -273,10 +273,6 @@ run() {
if [ "${ROOT_INSTANCE_RUNNING}" = "false" ] || [ "${CHECK_ROOT_INSTANCE_RUNNING}" = "false" ] ; then
if [ "${VERSION}" -gt "8" ]; then
${KARAF_EXEC} "${JAVA}" ${JAVA_OPTS} \
- --add-exports=java.base/org.apache.karaf.specs.locator=java.xml,java.xml.ws,ALL-UNNAMED \
- --patch-module java.base=lib/endorsed/org.apache.karaf.specs.locator-@@project.version@@.jar \
- --patch-module java.xml=lib/endorsed/org.apache.karaf.specs.java.xml-@@project.version@@.jar \
- --patch-module java.xml.ws=lib/endorsed/org.apache.karaf.specs.java.xml.ws-@@project.version@@.jar \
--add-opens java.base/java.security=ALL-UNNAMED \
--add-opens java.base/java.net=ALL-UNNAMED \
--add-opens java.base/java.lang=ALL-UNNAMED \
@@ -289,7 +285,6 @@ run() {
--add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED \
--add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED \
--add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED \
- --add-modules java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws \
-Dkaraf.instances="${KARAF_HOME}/instances" \
-Dkaraf.home="${KARAF_HOME}" \
-Dkaraf.base="${KARAF_BASE}" \
diff --git a/assemblies/features/base/src/main/filtered-resources/resources/etc/config.properties b/assemblies/features/base/src/main/filtered-resources/resources/etc/config.properties
index 1426918..7e8cbeb 100644
--- a/assemblies/features/base/src/main/filtered-resources/resources/etc/config.properties
+++ b/assemblies/features/base/src/main/filtered-resources/resources/etc/config.properties
@@ -122,6 +122,12 @@ equinox-capabilities= \
osgi.service;objectClass:List=org.eclipse.osgi.service.security.TrustEngine;osgi.signedcontent.trust.engine=org.eclipse.osgi, \
osgi.service;objectClass:List=org.eclipse.osgi.service.urlconversion.URLConverter;protocol:List="bundleentry,bundleresource"
+eecap-11= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
+ osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \
+ osgi.ee; osgi.ee="JavaSE/compact1"; version:List="1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JavaSE/compact2"; version:List="1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JavaSE/compact3"; version:List="1.8,9.0,10.0,11.0"
eecap-10= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0", \
osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \
diff --git a/assemblies/features/base/src/main/filtered-resources/resources/etc/jre.properties b/assemblies/features/base/src/main/filtered-resources/resources/etc/jre.properties
index d3d9898..a7ac0c5 100644
--- a/assemblies/features/base/src/main/filtered-resources/resources/etc/jre.properties
+++ b/assemblies/features/base/src/main/filtered-resources/resources/etc/jre.properties
@@ -293,14 +293,6 @@ jre-1.7= \
javax.xml.transform.stax, \
javax.xml.transform.stream, \
javax.xml.validation, \
- javax.xml.ws;version="2.2", \
- javax.xml.ws.handler;version="2.2", \
- javax.xml.ws.handler.soap;version="2.2", \
- javax.xml.ws.http;version="2.2", \
- javax.xml.ws.soap;version="2.2", \
- javax.xml.ws.spi;version="2.2", \
- javax.xml.ws.wsaddressing;version="2.2", \
- javax.xml.ws.spi.http;version="2.2", \
javax.xml.xpath, \
org.ietf.jgss, \
org.omg.CORBA, \
@@ -550,7 +542,6 @@ jre-9= \
javax.accessibility, \
javax.activation;version="1.1", \
javax.activity, \
- javax.annotation;version="1.0", \
javax.annotation.processing;version="1.0", \
javax.crypto, \
javax.crypto.interfaces, \
@@ -562,8 +553,6 @@ jre-9= \
javax.imageio.plugins.jpeg, \
javax.imageio.spi, \
javax.imageio.stream, \
- javax.jws, \
- javax.jws.soap, \
javax.lang.model, \
javax.lang.model.element, \
javax.lang.model.type, \
@@ -643,7 +632,6 @@ jre-9= \
javax.xml.datatype, \
javax.xml.namespace, \
javax.xml.parsers, \
- javax.xml.soap;version="1.3", \
javax.xml.stream;version="1.2", \
javax.xml.stream.events;version="1.2", \
javax.xml.stream.util;version="1.2", \
@@ -653,14 +641,6 @@ jre-9= \
javax.xml.transform.stax, \
javax.xml.transform.stream, \
javax.xml.validation, \
- javax.xml.ws;version="2.2", \
- javax.xml.ws.handler;version="2.2", \
- javax.xml.ws.handler.soap;version="2.2", \
- javax.xml.ws.http;version="2.2", \
- javax.xml.ws.soap;version="2.2", \
- javax.xml.ws.spi;version="2.2", \
- javax.xml.ws.wsaddressing;version="2.2", \
- javax.xml.ws.spi.http;version="2.2", \
javax.xml.xpath, \
javafx.animation, \
javafx.application, \
@@ -744,3 +724,4 @@ jre-9= \
org.xml.sax.helpers
jre-10 = ${jre-9}
+jre-11 = ${jre-10}
diff --git a/assemblies/features/framework/src/main/feature/feature.xml b/assemblies/features/framework/src/main/feature/feature.xml
index ffd7b33..134285e 100644
--- a/assemblies/features/framework/src/main/feature/feature.xml
+++ b/assemblies/features/framework/src/main/feature/feature.xml
@@ -36,6 +36,9 @@
mvn:org.apache.felix/org.apache.felix.fileinstall/${felix.fileinstall.version}
mvn:org.apache.karaf.features/org.apache.karaf.features.core/${project.version}
+ mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/2.5.0
+ mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.11_1
+ mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.5.0
diff --git a/features/core/pom.xml b/features/core/pom.xml
index 5bc3636..2f2541c 100644
--- a/features/core/pom.xml
+++ b/features/core/pom.xml
@@ -184,5 +184,71 @@
+
+
+ java9-plus
+
+ 3.1.0
+ --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED -Djava.io.tmpdir=${project.build.directory}
+
+
+
+ javax.xml.bind
+ jaxb-api
+ ${jaxb.version}
+
+
+ javax.activation
+ activation
+ 1.1.1
+
+
+ com.sun.xml.bind
+ jaxb-core
+ ${jaxb.version}
+
+
+ org.glassfish.jaxb
+ jaxb-core
+
+
+ org.glassfish.jaxb
+ txw2
+
+
+
+
+ com.sun.xml.bind
+ jaxb-impl
+ ${jaxb.version}
+
+
+ javax.xml.bind
+ jsr173_api
+
+
+ javax.xml
+ jsr173
+
+
+ javax.activation
+ activation
+
+
+ javax.xml.bind
+ activation
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+ [9,)
+
+
+
diff --git a/itests/src/test/filtered-resources/etc/config.properties b/itests/src/test/filtered-resources/etc/config.properties
index 723b46d..2a9e2ef 100644
--- a/itests/src/test/filtered-resources/etc/config.properties
+++ b/itests/src/test/filtered-resources/etc/config.properties
@@ -98,7 +98,18 @@ org.osgi.framework.system.capabilities= \
osgi.service;effective:=active;objectClass=org.osgi.service.resolver.Resolver, \
osgi.service;effective:=active;objectClass=org.osgi.service.startlevel.StartLevel, \
osgi.service;effective:=active;objectClass=org.osgi.service.url.URLHandlers
-
+eecap-11= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
+ osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \
+ osgi.ee; osgi.ee="JavaSE/compact1"; version:List="1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JavaSE/compact2"; version:List="1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JavaSE/compact3"; version:List="1.8,9.0,10.0,11.0"
+eecap-10= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
+ osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0", \
+ osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \
+ osgi.ee; osgi.ee="JavaSE/compact1"; version:List="1.8,9.0,10.0", \
+ osgi.ee; osgi.ee="JavaSE/compact2"; version:List="1.8,9.0,10.0", \
+ osgi.ee; osgi.ee="JavaSE/compact3"; version:List="1.8,9.0,10.0"
eecap-9= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9"
eecap-1.8= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
diff --git a/itests/src/test/java/org/apache/karaf/itests/HttpTest.java b/itests/src/test/java/org/apache/karaf/itests/HttpTest.java
index e90a65e..a0a8c85 100644
--- a/itests/src/test/java/org/apache/karaf/itests/HttpTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/HttpTest.java
@@ -37,6 +37,7 @@ public class HttpTest extends KarafTestSupport {
@Before
public void installHttpFeature() throws Exception {
+ installAndAssertFeature("aries-proxy");//ensure asm6.1 get installed
installAndAssertFeature("webconsole");
}
diff --git a/jaas/modules/pom.xml b/jaas/modules/pom.xml
index 5d760fc..ac152e8 100644
--- a/jaas/modules/pom.xml
+++ b/jaas/modules/pom.xml
@@ -180,4 +180,70 @@
+
+
+ java9-plus
+
+ 3.1.0
+ --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-modules java.activation,java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws -Djava.io.tmpdir=${project.build.directory}
+
+
+
+ javax.xml.bind
+ jaxb-api
+ ${jaxb.version}
+
+
+ javax.activation
+ activation
+ 1.1.1
+
+
+ com.sun.xml.bind
+ jaxb-core
+ ${jaxb.version}
+
+
+ org.glassfish.jaxb
+ jaxb-core
+
+
+ org.glassfish.jaxb
+ txw2
+
+
+
+
+ com.sun.xml.bind
+ jaxb-impl
+ ${jaxb.version}
+
+
+ javax.xml.bind
+ jsr173_api
+
+
+ javax.xml
+ jsr173
+
+
+ javax.activation
+ activation
+
+
+ javax.xml.bind
+ activation
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+ [9,)
+
+
+
diff --git a/main/src/test/resources/test-karaf-home/etc/config.properties b/main/src/test/resources/test-karaf-home/etc/config.properties
index c30059b..0684090 100755
--- a/main/src/test/resources/test-karaf-home/etc/config.properties
+++ b/main/src/test/resources/test-karaf-home/etc/config.properties
@@ -64,7 +64,18 @@ org.osgi.framework.system.packages= \
org.osgi.framework.system.capabilities= \
${eecap-${java.specification.version}}
-
+eecap-11= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
+ osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \
+ osgi.ee; osgi.ee="JavaSE/compact1"; version:List="1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JavaSE/compact2"; version:List="1.8,9.0,10.0,11.0", \
+ osgi.ee; osgi.ee="JavaSE/compact3"; version:List="1.8,9.0,10.0,11.0"
+eecap-10= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
+ osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,9.0,10.0", \
+ osgi.ee; osgi.ee="JRE"; version:List="1.0,1.1", \
+ osgi.ee; osgi.ee="JavaSE/compact1"; version:List="1.8,9.0,10.0", \
+ osgi.ee; osgi.ee="JavaSE/compact2"; version:List="1.8,9.0,10.0", \
+ osgi.ee; osgi.ee="JavaSE/compact3"; version:List="1.8,9.0,10.0"
eecap-9= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
osgi.ee; osgi.ee="JavaSE"; version:List="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9"
eecap-1.8= osgi.ee; osgi.ee="OSGi/Minimum"; version:List="1.0,1.1,1.2", \
diff --git a/main/src/test/resources/test-karaf-home/etc/jre.properties b/main/src/test/resources/test-karaf-home/etc/jre.properties
index 3bc13ec..512a06b 100644
--- a/main/src/test/resources/test-karaf-home/etc/jre.properties
+++ b/main/src/test/resources/test-karaf-home/etc/jre.properties
@@ -736,3 +736,5 @@ jre-9= \
org.xml.sax, \
org.xml.sax.ext, \
org.xml.sax.helpers
+jre-10 = ${jre-9}
+jre-11 = ${jre-10}
diff --git a/pom.xml b/pom.xml
index 81c3ec5..bcbe63e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -145,7 +145,7 @@
1.7.4_1
1.9.7_1
2.7.7_5
- 6.0
+ 6.2-SNAPSHOT
3.1.0
3.2.4_1
2.2.0
@@ -178,7 +178,7 @@
1.1
1.1.1
- 3.6
+ 3.7-SNAPSHOT
2.6
org.eclipse.platform
org.eclipse.osgi
@@ -236,7 +236,7 @@
1.1.0
1.0.2
1.1.0
- 1.1.1
+ 1.1.2-SNAPSHOT
1.1.0
1.0.10
2.0.10
@@ -273,7 +273,7 @@
5.0.0
1.0.0
- 4.11.0
+ 4.12.0-SNAPSHOT
1.10.1
1.5.0
1.8.3
@@ -303,7 +303,7 @@
10.12.1.1
2.0.0-M24
1.3.10_1
- 4.8
+ 4.9-SNAPSHOT
2.11.0_1
2.7.2_3
2.7.2_1
@@ -1864,7 +1864,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 2.20.1
+ 2.21.0
once
${surefire.argLine}
@@ -2363,20 +2363,74 @@
- java9
+ java9-plus
- 3.5
- --add-opens java.base/java.security=ALL-UNNAMED
+
+ --add-opens java.base/java.security=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED
- --add-modules java.activation,java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws
+
- 9
+ [9,)
+
diff --git a/scheduler/pom.xml b/scheduler/pom.xml
index 080f9fb..d97b0f5 100644
--- a/scheduler/pom.xml
+++ b/scheduler/pom.xml
@@ -124,5 +124,71 @@
true
+
+
+ java9-plus
+
+ 3.1.0
+ --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-modules java.activation,java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws -Djava.io.tmpdir=${project.build.directory}
+
+
+
+ javax.xml.bind
+ jaxb-api
+ ${jaxb.version}
+
+
+ javax.activation
+ activation
+ 1.1.1
+
+
+ com.sun.xml.bind
+ jaxb-core
+ ${jaxb.version}
+
+
+ org.glassfish.jaxb
+ jaxb-core
+
+
+ org.glassfish.jaxb
+ txw2
+
+
+
+
+ com.sun.xml.bind
+ jaxb-impl
+ ${jaxb.version}
+
+
+ javax.xml.bind
+ jsr173_api
+
+
+ javax.xml
+ jsr173
+
+
+ javax.activation
+ activation
+
+
+ javax.xml.bind
+ activation
+
+
+ javax.xml.bind
+ jaxb-api
+
+
+
+
+
+ [9,)
+
+
+
diff --git a/service/guard/src/test/java/org/apache/karaf/service/guard/impl/GuardProxyCatalogTest.java b/service/guard/src/test/java/org/apache/karaf/service/guard/impl/GuardProxyCatalogTest.java
index 1385ac4..7538638 100644
--- a/service/guard/src/test/java/org/apache/karaf/service/guard/impl/GuardProxyCatalogTest.java
+++ b/service/guard/src/test/java/org/apache/karaf/service/guard/impl/GuardProxyCatalogTest.java
@@ -1308,7 +1308,12 @@ public class GuardProxyCatalogTest {
// Test that the actual proxy invokes the original service...
ServiceFactory proxyServiceSF = (ServiceFactory) serviceMap.get(proxySR);
- Object proxyService = proxyServiceSF.getService(clientBundle, null);
+ Object proxyService = null;
+ try {
+ proxyService = proxyServiceSF.getService(clientBundle, null);
+ } catch (Exception ex) {
+ ex.printStackTrace();
+ }
assertNotSame("The proxy should not be the same object as the original service", testService, proxyService);
return proxyService;
diff --git a/tooling/karaf-maven-plugin/pom.xml b/tooling/karaf-maven-plugin/pom.xml
index 2872122..3cba2a6 100644
--- a/tooling/karaf-maven-plugin/pom.xml
+++ b/tooling/karaf-maven-plugin/pom.xml
@@ -392,12 +392,31 @@
- java9
+ java9-plus
3.1.0
- --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-modules java.activation,java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws -Djava.io.tmpdir=${project.build.directory}
+ --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.xml.bind/com.sun.xml.internal.bind.v2.runtime=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED -Djava.io.tmpdir=${project.build.directory}
+
+ org.easymock
+ easymock
+ test
+
+
+ org.ow2.asm
+ asm
+
+
+
+
+
+
+
+ org.ow2.asm
+ asm
+ 6.2-SNAPSHOT
+
javax.xml.bind
jaxb-api
@@ -452,7 +471,7 @@
- 9
+ [9,)