diff --git a/jetty-osgi/test-jetty-osgi/pom.xml b/jetty-osgi/test-jetty-osgi/pom.xml
index 317d780b7b9..e0ab0896486 100644
--- a/jetty-osgi/test-jetty-osgi/pom.xml
+++ b/jetty-osgi/test-jetty-osgi/pom.xml
@@ -610,5 +610,25 @@
+
+ jdk11
+
+ 11
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ ${skipTests}
+
+ **/**/TestJettyOSGiBoot**
+
+
+
+
+
+
diff --git a/tests/test-sessions/test-infinispan-sessions/pom.xml b/tests/test-sessions/test-infinispan-sessions/pom.xml
index 30ce92d0d4c..7cf842806ae 100644
--- a/tests/test-sessions/test-infinispan-sessions/pom.xml
+++ b/tests/test-sessions/test-infinispan-sessions/pom.xml
@@ -158,5 +158,24 @@
+
+ jdk11
+
+ 11
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+
+ **/ClusteredSessionScavengingTest
+
+
+
+
+
+