Skip to content

Commit

Permalink
[FLINK-33453][build] Add java21-target profile
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin authored Nov 21, 2023
1 parent f8da758 commit 33dbf50
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 33dbf50

Please sign in to comment.