From 73a4c9d028056fb5e1d4239d6178ea6c207fc733 Mon Sep 17 00:00:00 2001 From: V_Galaxy Date: Wed, 17 Jul 2024 16:03:27 +0800 Subject: [PATCH] chore: intro `editorconfig-maven-plugin` for verifying code style defined in `.editorconfig` (#2591) * exclude .flattened-pom.xml --- hugegraph-server/hugegraph-api/pom.xml | 12 +++---- hugegraph-server/pom.xml | 14 -------- pom.xml | 44 ++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 20 deletions(-) diff --git a/hugegraph-server/hugegraph-api/pom.xml b/hugegraph-server/hugegraph-api/pom.xml index e13849d93a..8a6fdb9e77 100644 --- a/hugegraph-server/hugegraph-api/pom.xml +++ b/hugegraph-server/hugegraph-api/pom.xml @@ -164,12 +164,12 @@ arthas-packaging ${arthas.version} - - org.gridkit.jvmtool - sjk-core - 0.22 - compile - + + org.gridkit.jvmtool + sjk-core + 0.22 + compile + diff --git a/hugegraph-server/pom.xml b/hugegraph-server/pom.xml index 2fc6f71999..2eb0158570 100644 --- a/hugegraph-server/pom.xml +++ b/hugegraph-server/pom.xml @@ -273,20 +273,6 @@ - - maven-compiler-plugin - 3.1 - - ${maven.compiler.source} - ${maven.compiler.target} - - 500 - - - -Xlint:unchecked - - - org.apache.maven.plugins maven-clean-plugin diff --git a/pom.xml b/pom.xml index b11ef8e537..0f8bc3e228 100644 --- a/pom.xml +++ b/pom.xml @@ -219,8 +219,23 @@ + + maven-compiler-plugin + 3.1 + + ${maven.compiler.source} + ${maven.compiler.target} + + 500 + + + -Xlint:unchecked + + + + org.apache.rat @@ -235,6 +250,35 @@ + + org.ec4j.maven + editorconfig-maven-plugin + 0.1.3 + + + style-check + + check + + verify + + + + + + + + + **/*.txt + **/.flattened-pom.xml + + + +