diff --git a/build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java b/build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java
index 52808fc651b..fcfeb9c7679 100644
--- a/build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java
+++ b/build/config/src/main/java/org/hibernate/checkstyle/checks/regexp/DoubleSpacesCheck.java
@@ -50,6 +50,11 @@ public int[] getRequiredTokens() {
}
@Override
+ // Suppress deprecation warning on getFileContents()
+ // because there is no alternative for CommentSuppressor/StringSuppressor.
+ // See com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck.beginTree
+ // See https://github.com/checkstyle/checkstyle/issues/11166
+ @SuppressWarnings("deprecation")
public void beginTree(DetailAST aRootAST) {
initializeSuppressors( getFileContents() );
processLines( Arrays.asList( getLines() ) );
diff --git a/pom.xml b/pom.xml
index 88f64a952ac..1b045041c65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -250,7 +250,7 @@
1.0.3
- 1.7.33
+ 1.7.35
5.6.5.Final
@@ -297,7 +297,7 @@
3.0.1
2.0.1
1.0.1.Final
- 2.0.0
+ 2.0.1
https://javaee.github.io/javaee-spec/javadocs/
https://jakarta.ee/specifications/batch/2.0/apidocs/
@@ -310,7 +310,7 @@
6.0.0
2.2
- 4.2.0
+ 4.3.1
3.22.0
4.1.1
1.5.0
@@ -359,7 +359,7 @@
3.2.0
2.5.2
0.7.7
- 0.15.4
+ 0.15.6
3.2.2
3.3.1
0.5.1
@@ -384,17 +384,11 @@
3.0.0
3.0.1
3.0.9
-
- 8.41
- 9.2.1
+ 9.3
- 2.2.1
+ 2.2.2
1.0.4.Final
9.3.2.0
2.5.3
@@ -439,6 +433,9 @@
${java-version.test.compiler.java_home}
${java-version.test.launcher.java_home}/bin/java
+
+ true
+
${java-version.main.release}
${java-version.test.release}
@@ -1670,7 +1667,7 @@
true
true
- true
+ ${maven.compiler.failOnWarning}
${maven.compiler.release}
${maven.compiler.testRelease}
UTF-8
@@ -2339,20 +2336,8 @@
+ false
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
- false
-
-
-
-
-