Skip to content

Commit

Permalink
[FLINK-29436][build] Upgrade spotless to 2.27.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun authored Sep 29, 2022
1 parent c321c5c commit e1e9ee8
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ under the License.
<hivemetastore.hadoop.version>2.7.5</hivemetastore.hadoop.version>
<japicmp.referenceVersion>1.15.0</japicmp.referenceVersion>
<japicmp.outputDir>tools/japicmp-output</japicmp.outputDir>
<spotless.version>2.13.0</spotless.version>
<spotless.version>2.27.1</spotless.version>
<spotless.scalafmt.version>3.4.3</spotless.scalafmt.version>
<spotless.delimiter>package</spotless.delimiter>
<spotless.license.header>
Expand Down Expand Up @@ -1018,30 +1018,6 @@ under the License.
</build>
</profile>

<profile>
<id>java17</id>
<activation>
<jdk>[17,)</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 17.
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>java11-target</id>
<build>
Expand Down

0 comments on commit e1e9ee8

Please sign in to comment.