From 8218ae0be874fe0a662f52ac74cd43f564e7b666 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 25 Sep 2018 09:20:32 -0400 Subject: Clean up checkstyle declaration Fixed the path for finding the src files. Added eclipse lifecycle to ignore the oparent checkstyle bug. Cleaned up existing checkstyle issues. Added entries into .gitignore to ignore debug logging directories created. Issue-ID: POLICY-1136 Change-Id: I684038babcb9723cfc4bef2b2a713425ae077599 Signed-off-by: Pamela Dragosh --- pom.xml | 49 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 15 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index b2d885c7..288052e7 100644 --- a/pom.xml +++ b/pom.xml @@ -27,12 +27,11 @@ org.onap.policy.parent integration 2.0.0-SNAPSHOT - + org.onap.policy.api policy-api - 2.0.0-SNAPSHOT pom @@ -41,8 +40,7 @@ - + ${project.basedir}/../target/code-coverage/jacoco-ut.exec ${project.basedir}/../target/code-coverage/jacoco-it.exec reuseReports @@ -124,12 +122,11 @@ process-sources - + onap-checkstyle/onap-java-style.xml - ${project.build.sourceDirectory}/src/main/java + ${project.build.sourceDirectory} true true true @@ -145,7 +142,7 @@ org.onap.oparent checkstyle - 1.1.0 + ${oparent.version} compile @@ -158,8 +155,7 @@ jacoco-maven-plugin ${jacoco.version} - + **/gen/** **/generated-sources/** @@ -168,8 +164,8 @@ - + pre-unit-test @@ -179,8 +175,7 @@ ${sonar.jacoco.reportPath} - + post-unit-test test @@ -193,6 +188,30 @@ + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17,) + + check + + + + + + + + + + -- cgit 1.2.3-korg