CXF-8407: Incorporate changes caused by JEP-396 integration into JDK-16+. Added JDK16+ profile to cxf-systests-transports since it overrides cxf.surefire.fork.vmargs
diff --git a/systests/transports/pom.xml b/systests/transports/pom.xml
index 711eb45..a7f4ec6 100644
--- a/systests/transports/pom.xml
+++ b/systests/transports/pom.xml
@@ -346,4 +346,15 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>jdk16</id>
+ <activation>
+ <jdk>[16,)</jdk>
+ </activation>
+ <properties>
+ <cxf.surefire.fork.vmargs>--add-opens java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED -Djdk.http.auth.tunneling.disabledSchemes=""</cxf.surefire.fork.vmargs>
+ </properties>
+ </profile>
+ </profiles>
</project>