Mercurial > dive4elements > river
changeset 9794:47eee0be5792 3.2.x
Upgrade to latest Checkstyle plugin supporting used Maven version
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 02 Nov 2023 11:20:50 +0100 |
parents | 2a78ac6c8045 |
children | 8d71363cd3bd |
files | artifacts/pom.xml backend/pom.xml checkstyle.xml gwt-client/pom.xml |
diffstat | 4 files changed, 10 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- 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>
--- 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"/>
--- 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>