You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sn...@apache.org on 2023/11/21 22:48:03 UTC
(flink) branch master updated: [FLINK-33453][build] Add java21-target profile
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 33dbf5043d0 [FLINK-33453][build] Add java21-target profile
33dbf5043d0 is described below
commit 33dbf5043d00c3d6fed787ff62013769b38f420a
Author: Sergey Nuyanzin <sn...@gmail.com>
AuthorDate: Tue Nov 21 23:47:55 2023 +0100
[FLINK-33453][build] Add java21-target profile
---
pom.xml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/pom.xml b/pom.xml
index 430def916a1..7efaa6d886a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1156,6 +1156,28 @@ under the License.
</build>
</profile>
+ <profile>
+ <id>java21-target</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>21</source>
+ <target>21</target>
+ <compilerArgs combine.children="append">
+ <arg>--add-exports=java.base/sun.net.util=ALL-UNNAMED</arg>
+ <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>