Skip to content

Commit e16da2b

Browse files
authored
[FLINK-38474][build] Add java25-target profile
1 parent d319c9c commit e16da2b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,27 @@ under the License.
12391239
</build>
12401240
</profile>
12411241

1242+
<profile>
1243+
<id>java25-target</id>
1244+
<build>
1245+
<plugins>
1246+
<plugin>
1247+
<groupId>org.apache.maven.plugins</groupId>
1248+
<artifactId>maven-compiler-plugin</artifactId>
1249+
<configuration>
1250+
<source>25</source>
1251+
<target>25</target>
1252+
<compilerArgs combine.children="append">
1253+
<arg>--add-exports=java.management/sun.management=ALL-UNNAMED</arg>
1254+
<arg>--add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED</arg>
1255+
<arg>--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED</arg>
1256+
</compilerArgs>
1257+
</configuration>
1258+
</plugin>
1259+
</plugins>
1260+
</build>
1261+
</profile>
1262+
12421263
<profile>
12431264
<id>fast</id>
12441265
<activation>

0 commit comments

Comments
 (0)