This is an automated email from the ASF dual-hosted git repository.
williamsong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new b06f82a94 RATIS-1878. checkstyle fails with
UnsupportedClassVersionError. (#909)
b06f82a94 is described below
commit b06f82a94d563830fe747f47bad3298cd22ee04a
Author: Tsz-Wo Nicholas Sze <[email protected]>
AuthorDate: Mon Aug 28 00:13:28 2023 -0700
RATIS-1878. checkstyle fails with UnsupportedClassVersionError. (#909)
---
pom.xml | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/pom.xml b/pom.xml
index 6d33d04f9..5fdc59f77 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,7 +173,7 @@
<!-- Maven plugin versions -->
<maven-bundle-plugin.version>5.1.8</maven-bundle-plugin.version>
- <maven-checkstyle-plugin.version>3.2.1</maven-checkstyle-plugin.version>
+ <maven-checkstyle-plugin.version>3.3.0</maven-checkstyle-plugin.version>
<maven-clover2-plugin.version>4.0.6</maven-clover2-plugin.version>
<maven-pdf-plugin.version>1.6.1</maven-pdf-plugin.version>
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
@@ -184,12 +184,11 @@
<build-helper-maven-plugin.version>3.3.0</build-helper-maven-plugin.version>
<exec-maven-plugin.version>3.1.0</exec-maven-plugin.version>
<extra-enforcer-rules.version>1.6.1</extra-enforcer-rules.version>
- <license-maven-plugin.version>4.1</license-maven-plugin.version>
+ <license-maven-plugin.version>2.2.0</license-maven-plugin.version>
<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version>
<copy-rename-maven-plugin.version>1.0</copy-rename-maven-plugin.version>
- <checkstyle.version>10.9.2</checkstyle.version>
<spotbugs.version>4.2.1</spotbugs.version>
<spotbugs-plugin.version>4.2.0</spotbugs-plugin.version>
@@ -746,16 +745,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
- <dependencies>
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>${checkstyle.version}</version>
- </dependency>
- </dependencies>
<configuration>
<configLocation>dev-support/checkstyle.xml</configLocation>
- <failOnViolation>false</failOnViolation>
+ <failOnViolation>true</failOnViolation>
<linkXRef>false</linkXRef>
</configuration>
</plugin>