From b0da2071d2058a064f46792fdf3f269ed1490282 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 7 Sep 2017 11:40:49 -0700 Subject: Move checkstyle config to plugins section Move ONAP checkstyle config from the pluginManagement section to the plugins section to fix dependency resolution issues. Change-Id: I8cc359e2d2e588717eb2f7dd56b691c8ee3cdf0a Issue-ID: INT-128 Signed-off-by: Gary Wu --- oparent/pom.xml | 139 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 73 insertions(+), 66 deletions(-) diff --git a/oparent/pom.xml b/oparent/pom.xml index fe603f2..3538e39 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -68,19 +68,29 @@ - - - - org.onap.oparent - checkstyle - 1.0.0-SNAPSHOT - - + + + central + Maven 2 repository 2 + http://repo2.maven.org/maven2/ + + + ecomp-releases + ONAP Release Repository + https://nexus.onap.org/content/repositories/releases/ + + + ecomp-snapshots + ONAP Snapshot Repository + https://nexus.onap.org/content/repositories/snapshots/ + + true + + + false + + + generate-json @@ -312,59 +322,6 @@ - - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.0.0-SNAPSHOT - - - - - check-license - - check - - process-sources - - onap-checkstyle/check-license.xml - false - true - false - ${project.build.sourceDirectory} - - - true - false - - - - check-style - - check - - process-sources - - - onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - true - false - - - - org.jacoco jacoco-maven-plugin @@ -497,6 +454,56 @@ maven-checkstyle-plugin + 2.17 + + + org.onap.oparent + checkstyle + 1.0.0-SNAPSHOT + + + + + onap-license + + check + + process-sources + + onap-checkstyle/check-license.xml + false + true + false + ${project.build.sourceDirectory} + + + true + false + + + + onap-java-style + + check + + process-sources + + + onap-checkstyle/onap-java-style.xml + + ${project.build.sourceDirectory}/src/main/java + true + true + true + + + true + false + + + org.codehaus.mojo -- cgit 1.2.3-korg