Fixing up after checkstyle upgrade
diff --git a/build-tools/wss4j-checkstyle.xml b/build-tools/wss4j-checkstyle.xml
index b760f6c..254696b 100644
--- a/build-tools/wss4j-checkstyle.xml
+++ b/build-tools/wss4j-checkstyle.xml
@@ -73,10 +73,6 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
- <module name="LineLength">
- <property name="max" value="140"/>
- <property name="ignorePattern" value="^ *\* *"/>
- </module>
<module name="MethodLength">
<property name="max" value="200"/>
</module>
@@ -126,7 +122,7 @@
<module name="ArrayTypeStyle"/>
<module name="UpperEll"/>
- <module name="FileContentsHolder"/>
+ <module name="SuppressionCommentFilter"/>
</module>
@@ -138,6 +134,10 @@
<!-- See http://checkstyle.sourceforge.net/config_misc.html#UniqueProperties -->
<module name="UniqueProperties"/>
- <module name="SuppressionCommentFilter"/>
+ <module name="LineLength">
+ <property name="max" value="140"/>
+ <property name="ignorePattern" value="^ *\* *"/>
+ <property name="fileExtensions" value="java"/>
+ </module>
</module>
diff --git a/pom.xml b/pom.xml
index ae3af97..118e2a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -157,6 +157,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
+ <dependencies>
+ <dependency>
+ <groupId>com.puppycrawl.tools</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>8.35</version>
+ </dependency>
+ </dependencies>
<configuration>
<configLocation>${buildtools.dir}/wss4j-checkstyle.xml</configLocation>
<includeTestSourceDirectory>false</includeTestSourceDirectory>