From 1e1f49f7947271b15fa9b096a022e827d952a043 Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Tue, 22 Oct 2024 14:00:29 +0100 Subject: Added maven-checkstyle-plugin to parent POM for code style checks - Integrate Checkstyle to enforce coding standards across modules. - Ensure Checkstyle applies to both dmi-service and dmi-stub modules. - Fixed all code check style issues. Issue-ID: CPS-2461 Change-Id: Ie84928c1f2e3de549cc8fab2001974369884a831 Signed-off-by: sourabh_sourabh --- pom.xml | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index b457e235..f8d34c52 100644 --- a/pom.xml +++ b/pom.xml @@ -1,3 +1,4 @@ + + @@ -43,4 +45,84 @@ ncmp-dmi-plugin DMI Plugin Service + + 3.5.2 + + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + onap-license + + check + + process-sources + + onap-checkstyle/check-license.xml + false + true + false + + ${project.build.sourceDirectory} + + false + warning + true + + + + onap-java-style + + check + + process-sources + + onap-checkstyle/onap-java-style.xml + + ${project.build.sourceDirectory} + + true + true + true + false + warning + true + + + + cps-java-style + + check + + process-sources + + cps-java-style.xml + + ${project.build.sourceDirectory} + + true + true + true + true + warning + true + + + + + + ${project.groupId} + checkstyle + ${cps.version} + + + + + + -- cgit