diff --git a/pom.xml b/pom.xml
index dab4345593bd8..60da6c23772ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1239,6 +1239,27 @@ under the License.
+
+ java25-target
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 25
+ 25
+
+ --add-exports=java.management/sun.management=ALL-UNNAMED
+ --add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED
+ --add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED
+
+
+
+
+
+
+
fast