From 09b18191edef50dc24079bc3a61aaee06a0f3993 Mon Sep 17 00:00:00 2001 From: seagle Date: Mon, 13 Jun 2022 20:37:54 +0800 Subject: [PATCH] update checkstyle (#97) Co-authored-by: yuanbingze Co-authored-by: imbajin --- checkstyle.xml | 89 ---------------- hugegraph-common/pom.xml | 22 ---- hugegraph-rpc/pom.xml | 24 ----- pom.xml | 13 ++- style/checkstyle.xml | 218 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 229 insertions(+), 137 deletions(-) delete mode 100644 checkstyle.xml create mode 100644 style/checkstyle.xml diff --git a/checkstyle.xml b/checkstyle.xml deleted file mode 100644 index 9373a70d9..000000000 --- a/checkstyle.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hugegraph-common/pom.xml b/hugegraph-common/pom.xml index 871b98e34..1c3637bfb 100644 --- a/hugegraph-common/pom.xml +++ b/hugegraph-common/pom.xml @@ -207,28 +207,6 @@ - - org.apache.maven.plugins - maven-checkstyle-plugin - 3.1.0 - - ../checkstyle.xml - UTF-8 - true - true - false - false - - - - validate - validate - - check - - - - org.apache.maven.plugins maven-jar-plugin diff --git a/hugegraph-rpc/pom.xml b/hugegraph-rpc/pom.xml index 43fcff4d1..2c2d1c1b1 100644 --- a/hugegraph-rpc/pom.xml +++ b/hugegraph-rpc/pom.xml @@ -100,30 +100,6 @@ - - - org.apache.maven.plugins - maven-checkstyle-plugin - 3.1.0 - - ../checkstyle.xml - UTF-8 - true - true - false - false - - - - validate - validate - - check - - - - - org.apache.maven.plugins maven-jar-plugin diff --git a/pom.xml b/pom.xml index 7bb8fc4cc..2a5c1e9a0 100644 --- a/pom.xml +++ b/pom.xml @@ -61,6 +61,8 @@ 4.1.0 4.0.0-RC2 3.0.2 + 3.1.2 + 8.45 2.1.2.0 @@ -88,9 +90,16 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.1.0 + ${checkstyle.plugin.version} + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + - checkstyle.xml + style/checkstyle.xml UTF-8 true true diff --git a/style/checkstyle.xml b/style/checkstyle.xml new file mode 100644 index 000000000..c2429281a --- /dev/null +++ b/style/checkstyle.xml @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +