diff --git a/pom.xml b/pom.xml
index ede2d91c..e9deee00 100644
--- a/pom.xml
+++ b/pom.xml
@@ -147,6 +147,14 @@
maven-site-plugin
3.12.1
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.2.3
+
+ ${test.jvm.flags}
+
+
@@ -233,5 +241,18 @@
+
+ add-exports
+
+ [9,)
+
+
+
+ --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
+ --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
+ --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
+
+
+