This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new e16da2bc9e2 [FLINK-38474][build] Add java25-target profile
e16da2bc9e2 is described below

commit e16da2bc9e26f1047730fd2753b8464b4fe2bedd
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Fri Oct 10 20:33:55 2025 +0200

    [FLINK-38474][build] Add java25-target profile
---
 pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/pom.xml b/pom.xml
index dab4345593b..60da6c23772 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1239,6 +1239,27 @@ under the License.
                        </build>
                </profile>
 
+               <profile>
+                       <id>java25-target</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               
<groupId>org.apache.maven.plugins</groupId>
+                                               
<artifactId>maven-compiler-plugin</artifactId>
+                                               <configuration>
+                                                       <source>25</source>
+                                                       <target>25</target>
+                                                       <compilerArgs 
combine.children="append">
+                                                               
<arg>--add-exports=java.management/sun.management=ALL-UNNAMED</arg>
+                                                               
<arg>--add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED</arg>
+                                                               
<arg>--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED</arg>
+                                                       </compilerArgs>
+                                               </configuration>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+
                <profile>
                        <id>fast</id>
                        <activation>

Reply via email to