Skip to content

Commit d319c9c

Browse files
authored
[FLINK-38387][build] Disable spotless for java 25
1 parent 48aed84 commit d319c9c

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

pom.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,41 @@ under the License.
12041204
</build>
12051205
</profile>
12061206

1207+
<profile>
1208+
<id>java25</id>
1209+
<activation>
1210+
<jdk>[25,)</jdk>
1211+
</activation>
1212+
1213+
<build>
1214+
<pluginManagement>
1215+
<plugins>
1216+
<plugin>
1217+
<groupId>org.apache.maven.plugins</groupId>
1218+
<artifactId>maven-surefire-plugin</artifactId>
1219+
<configuration>
1220+
<excludedGroups>
1221+
${surefire.excludedGroups.github-actions},
1222+
${surefire.excludedGroups.adaptive-scheduler},
1223+
${surefire.excludedGroups.jdk},
1224+
</excludedGroups>
1225+
</configuration>
1226+
</plugin>
1227+
<plugin>
1228+
<groupId>com.diffplug.spotless</groupId>
1229+
<artifactId>spotless-maven-plugin</artifactId>
1230+
<configuration>
1231+
<!-- Current google format does not run on Java 25.
1232+
Don't upgrade it in this profile because it formats code differently.
1233+
Re-evaluate once support for Java 11 is dropped. -->
1234+
<skip>true</skip>
1235+
</configuration>
1236+
</plugin>
1237+
</plugins>
1238+
</pluginManagement>
1239+
</build>
1240+
</profile>
1241+
12071242
<profile>
12081243
<id>fast</id>
12091244
<activation>

0 commit comments

Comments
 (0)