Skip to content

Commit

Permalink
[FLINK-34930] Skip spotless for JDK 21+
Browse files Browse the repository at this point in the history
  • Loading branch information
ferenc-csaky committed Apr 10, 2024
1 parent 880ce6e commit 82f84c8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,29 @@ under the License.
</plugin>
</plugins>
</build>

<profiles>
<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>
</profiles>
</project>

0 comments on commit 82f84c8

Please sign in to comment.