[PATCH] Upgrade to latest Checkstyle plugin supporting used Maven version

Wald Commits scm-commit at wald.intevation.org
Thu Nov 2 12:55:37 CET 2023


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1698920450 -3600
#      Thu Nov 02 11:20:50 2023 +0100
# Branch 3.2.x
# Node ID 47eee0be57927a7268f662f6cce14d0ed4aff390
# Parent  2a78ac6c804537d14a9834048211992b0e27e80c
Upgrade to latest Checkstyle plugin supporting used Maven version

diff -r 2a78ac6c8045 -r 47eee0be5792 artifacts/pom.xml
--- a/artifacts/pom.xml	Wed Nov 01 19:06:30 2023 +0100
+++ b/artifacts/pom.xml	Thu Nov 02 11:20:50 2023 +0100
@@ -49,7 +49,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>3.0.0</version>
+        <version>3.1.2</version>
         <configuration>
           <configLocation>../checkstyle.xml</configLocation>
           <encoding>UTF-8</encoding>
diff -r 2a78ac6c8045 -r 47eee0be5792 backend/pom.xml
--- a/backend/pom.xml	Wed Nov 01 19:06:30 2023 +0100
+++ b/backend/pom.xml	Thu Nov 02 11:20:50 2023 +0100
@@ -89,7 +89,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>3.0.0</version>
+        <version>3.1.2</version>
         <configuration>
           <configLocation>../checkstyle.xml</configLocation>
           <encoding>UTF-8</encoding>
diff -r 2a78ac6c8045 -r 47eee0be5792 checkstyle.xml
--- a/checkstyle.xml	Wed Nov 01 19:06:30 2023 +0100
+++ b/checkstyle.xml	Thu Nov 02 11:20:50 2023 +0100
@@ -32,6 +32,13 @@
     <property name="message" value="Line has trailing spaces."/>
   </module>
 
+  <!-- Checks for Size Violations.                    -->
+  <!-- See http://checkstyle.sf.net/config_sizes.html -->
+  <module name="LineLength">
+    <property name="ignorePattern" value="^ *\$wnd.*$"/>
+    <property name="severity" value="warning"/>
+  </module>
+
   <module name="TreeWalker">
 
     <!-- required for SuppressWarningsFilter (and other Suppress* rules not used here) -->
@@ -67,14 +74,6 @@
     <module name="UnusedImports"/>
 
 
-    <!-- Checks for Size Violations.                    -->
-    <!-- See http://checkstyle.sf.net/config_sizes.html -->
-    <module name="LineLength">
-      <property name="ignorePattern" value="^ *\$wnd.*$"/>
-      <property name="severity" value="warning"/>
-    </module>
-
-
     <!-- Checks for whitespace                               -->
     <!-- See http://checkstyle.sf.net/config_whitespace.html -->
     <!--<module name="EmptyForIteratorPad"/>
diff -r 2a78ac6c8045 -r 47eee0be5792 gwt-client/pom.xml
--- a/gwt-client/pom.xml	Wed Nov 01 19:06:30 2023 +0100
+++ b/gwt-client/pom.xml	Thu Nov 02 11:20:50 2023 +0100
@@ -227,7 +227,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>3.0.0</version>
+        <version>3.1.2</version>
         <configuration>
           <configLocation>../checkstyle.xml</configLocation>
           <encoding>UTF-8</encoding>


More information about the Dive4Elements-commits mailing list