This is an automated email from the ASF dual-hosted git repository. chesnay 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 72e302310ba [FLINK-33307] Disable spotless on Java 21 72e302310ba is described below commit 72e302310ba55bb5f35966ed448243aae36e193e Author: Sergey Nuyanzin <snuyan...@gmail.com> AuthorDate: Wed Oct 18 22:28:43 2023 +0200 [FLINK-33307] Disable spotless on Java 21 --- pom.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pom.xml b/pom.xml index 8a9c3f0e3a5..5a806eb4dc6 100644 --- a/pom.xml +++ b/pom.xml @@ -1124,6 +1124,30 @@ under the License. </build> </profile> + <profile> + <id>java21</id> + <activation> + <jdk>[21,)</jdk> + </activation> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>com.diffplug.spotless</groupId> + <artifactId>spotless-maven-plugin</artifactId> + <configuration> + <!-- Current google format does not run on Java 21. + Don't upgrade it in this profile because it formats code differently. + Re-evaluate once support for Java 8 is dropped. --> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + <profile> <id>fast</id> <activation>