From c3fc86fe7917d3b295c61230df0ba03af572e96d Mon Sep 17 00:00:00 2001 From: Olyutorskii Date: Sun, 2 Jun 2019 21:06:14 +0900 Subject: [PATCH] update checkstyle plugin. --- config/checkstyle/checkstyle-suppressions.xml | 43 ++-- config/checkstyle/checkstyle.xml | 323 +++++++++++++------------- pom.xml | 26 ++- 3 files changed, 210 insertions(+), 182 deletions(-) diff --git a/config/checkstyle/checkstyle-suppressions.xml b/config/checkstyle/checkstyle-suppressions.xml index 728df15..1086722 100644 --- a/config/checkstyle/checkstyle-suppressions.xml +++ b/config/checkstyle/checkstyle-suppressions.xml @@ -1,35 +1,44 @@ + "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN" + "https://checkstyle.org/dtds/suppressions_1_2.dtd"> - + - - - - - ---> + + - + + - ---> + + + + + + + + + + + + + diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 70d8cb3..e5b583f 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -1,17 +1,16 @@ + "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" + "https://checkstyle.org/dtds/configuration_1_3.dtd"> @@ -19,26 +18,24 @@ - + + + - - - - - - - - - - - + + + + + + + @@ -55,13 +52,20 @@ + + + + + - - + + + + @@ -73,43 +77,62 @@ + + + + + - + + + + + + + + + + + + + + + + + - + - - + - - - - - - + + + + + @@ -117,84 +140,74 @@ - + + - + + + + + + - - - - - - + + + + - - - - - - - + + - - - - + + - - - - - - - - - - - - + + + + + + - + + + + - - - + - - - + - + + + + + + + + + @@ -211,134 +232,129 @@ - + - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - + + + - - - - - - - - - + + + + + - - + + + + + + + + + + - - + + + + + + + + + - + + - - - + - + + + + + - + - - - - - - - - - - - - - + + + + + + + - - + + - + - - - diff --git a/pom.xml b/pom.xml index a9330f5..00b8b91 100644 --- a/pom.xml +++ b/pom.xml @@ -98,8 +98,8 @@ 3.0.0-M3 0.8.3 - ${project.basedir}/src/main/config - + 3.0.0 + 8.20 ${project.basedir}/config/checkstyle/checkstyle.xml ${project.basedir}/config/checkstyle/checkstyle-suppressions.xml false @@ -134,6 +134,19 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + ${checkstyle-plugin.version} + + + com.puppycrawl.tools + checkstyle + ${checkstyleruntime.version} + + + + @@ -347,8 +360,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 2.10 - + ${checkstyle-plugin.version} @@ -509,11 +521,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 2.10 - - false - - + ${checkstyle-plugin.version} -- 2.11.0