From e819bc83e227a0745d26e2ea6a9c249484e7e4a0 Mon Sep 17 00:00:00 2001 From: Zike Yang Date: Wed, 7 Dec 2022 20:40:51 +0800 Subject: [PATCH 1/2] Fix the checkstyle plugin doesn't fail on violation --- pom.xml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 0f8d89384d..7c250399c1 100644 --- a/pom.xml +++ b/pom.xml @@ -1584,8 +1584,8 @@ IoT data streams. true tools/maven/checkstyle.xml UTF-8 - false - false + true + true @@ -1810,15 +1810,12 @@ IoT data streams. UTF-8 - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} - - false - false - - + + + + + + org.apache.maven.plugins maven-jar-plugin From d25c7fbdf27e3e54edde9b116f73b40d8b2ec45a Mon Sep 17 00:00:00 2001 From: Zike Yang Date: Wed, 7 Dec 2022 20:48:33 +0800 Subject: [PATCH 2/2] Set inherited of parent pom to false --- pom.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 7c250399c1..2b1838e649 100644 --- a/pom.xml +++ b/pom.xml @@ -1810,12 +1810,16 @@ IoT data streams. UTF-8 - - - - - - + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} + + false + false + + false + org.apache.maven.plugins maven-jar-plugin