diff --git a/pom.xml b/pom.xml
index 6f25a10f512ee..56427b92463ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1204,6 +1204,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