From 7066e9c21f965a4202dee894a1146d70d389df1a Mon Sep 17 00:00:00 2001 From: Anaël Closson Date: Wed, 6 Sep 2017 11:55:21 +0200 Subject: OParent children do not find checkstyle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The checkstyle plugin cannot be found by projects inheriting by OParent. When maven executes the check-license execution, he finds the org.onap.oparent:checkstyle:jar:1.0.0 as dependency and tries to retreive it. The repository section doesn't apply to plugin dependencies and so the org.onap.oparent:checkstyle:jar cannot be found. By adding it as dependency of the org.onap.oparent:oparent project, the artifact is downloaded using the project repositories and is already available when the plugin dependencies are checked. This might be due to a maven bug. Change-Id: I9eabea660b5fe8ceacc7299914e64ccccd7c2850 Issue-Id: INT-128 Signed-off-by: Anaël Closson --- oparent/pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/oparent/pom.xml b/oparent/pom.xml index 0c636ba..fe603f2 100644 --- a/oparent/pom.xml +++ b/oparent/pom.xml @@ -68,6 +68,19 @@ + + + + org.onap.oparent + checkstyle + 1.0.0-SNAPSHOT + + generate-json -- cgit 1.2.3-korg