From 6819ba3726c37dd497520013f718da68eca86c6b Mon Sep 17 00:00:00 2001 From: Anton Pinsky Date: Tue, 14 Nov 2023 21:48:20 +0100 Subject: [PATCH] [#112]Introduce Checkstyle plugin; immediately got 468 errors Signed-off-by: Anton Pinsky --- etc/config/checkstyle-suppressions.xml | 28 +++ etc/config/checkstyle.xml | 248 +++++++++++++++++++++++++ pom.xml | 38 ++++ 3 files changed, 314 insertions(+) create mode 100644 etc/config/checkstyle-suppressions.xml create mode 100644 etc/config/checkstyle.xml diff --git a/etc/config/checkstyle-suppressions.xml b/etc/config/checkstyle-suppressions.xml new file mode 100644 index 00000000..aa3e1883 --- /dev/null +++ b/etc/config/checkstyle-suppressions.xml @@ -0,0 +1,28 @@ + + + + + + + + + + diff --git a/etc/config/checkstyle.xml b/etc/config/checkstyle.xml new file mode 100644 index 00000000..56c34127 --- /dev/null +++ b/etc/config/checkstyle.xml @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index cac37a4e..ff2d697c 100644 --- a/pom.xml +++ b/pom.xml @@ -275,6 +275,19 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + + + run-checkstyle + + check + + validate + + + @@ -380,6 +393,31 @@ maven-gpg-plugin 3.1.0 + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.3.1 + + etc/config/checkstyle.xml + etc/config/checkstyle-suppressions.xml + true + true + false + + + + com.puppycrawl.tools + checkstyle + 10.12.4 + + + com.sun + tools + + + + +