From 88726d99b07a91495b800d6155d796c634560882 Mon Sep 17 00:00:00 2001 From: Filip Krzywka Date: Fri, 10 Aug 2018 08:26:42 +0200 Subject: Link project as ONAP oparent module child - Downgraded checkstyle-plugin version to not break build - oparent uses deprecated config property that cannot be overriden... Also it uses plugin version from 2014... - Moved jacoco plugin definition for similiar reasons. - Bumped maven-surefire-plugin. - Also added missing license in file. Not sure why CI did not catch that one earlier - removed nexus properties that should be inherited from onap `version` artifact (parent of oparent) - Use upgraded maven-failsafe-plugin - works with java 8, not sure about Java 9+ Change-Id: I47e441315cc0e1dc49ed474450db0ee3d2701a10 Issue-ID: DCAEGEN2-700 Signed-off-by: Filip Krzywka Signed-off-by: Piotr Jaszczyk --- pom.xml | 308 +++++++++++++++++++++++++++++----------------------------------- 1 file changed, 139 insertions(+), 169 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index ac5e1f29..6bbcef3b 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,13 @@ + + org.onap.oparent + oparent + 0.1.1 + + + org.onap.dcaegen2.collectors.veshv ves-hv-collector 1.0.0-SNAPSHOT @@ -68,20 +75,18 @@ 1.2.0-RC1 5.2.0-RC1 1.1.5 - 2.21.0 - true + 2.22.0 + false false true false - nexus3.onap.org:10003 - nexus3.onap.org:10002 ${onap.nexus.dockerregistry.daily} onap - ves-hv-collector/${project.artifactId} - - + ${project.groupId}.${project.artifactId} + + @@ -196,36 +201,44 @@ maven-surefire-plugin org.apache.maven.plugins ${maven-surefire-plugin.version} - - - default-test - - test - - - ${failIfMissingUnitTests} - 1 - - **/*Test.* - - - - - - component-tests - verify - - test - - - ${failIfMissingComponentTests} - 1 - - **/*Specification.* - - - - + + ${failIfMissingUnitTests} + 1 + + **/*Test.* + + + + + org.apache.commons + commons-lang3 + 3.7 + + + org.junit.platform + junit-platform-surefire-provider + ${junit-platform.version} + runtime + + + org.jetbrains.spek + spek-junit-platform-engine + ${spek.version} + runtime + + + + + org.apache.maven.plugins + maven-failsafe-plugin + 2.22.0 + + ${failIfMissingComponentTests} + 1 + + **/*Specification.* + + org.apache.commons @@ -248,6 +261,88 @@ + + + maven-checkstyle-plugin + 2.17 + + + org.onap.oparent + checkstyle + 1.1.1 + + + + + + check-license-kotlin + + check + + process-sources + + onap-checkstyle/check-license.xml + false + true + false + **\/*.kt + true + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + + detekt + verify + + run + + + + + + + + + + + + + + + + + + + + + + + + io.gitlab.arturbosch.detekt + detekt-cli + 1.0.0.RC7 + + + ${project.groupId} + hv-collector-analysis + ${project.version} + + + + kr.motd.maven @@ -258,121 +353,6 @@ - - analysis - - true - - - - - org.jacoco - jacoco-maven-plugin - 0.8.1 - - - default-prepare-agent - - prepare-agent - - - - default-prepare-agent-integration - - prepare-agent-integration - - - - - - - org/onap/ves/* - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - - detekt - verify - - - - - - - - - - - - - - - - - - - - run - - - - - - io.gitlab.arturbosch.detekt - detekt-cli - 1.0.0.RC7 - - - ${project.groupId} - hv-collector-analysis - ${project.version} - - - - - - maven-checkstyle-plugin - 3.0.0 - - - org.onap.oparent - checkstyle - 1.1.1 - - - - - onap-license - - check - - process-sources - - onap-checkstyle/check-license.xml - false - true - false - **\/*.kt - true - - - - - - - - docker @@ -445,7 +425,13 @@ ${project.artifactId} - ${docker-image.registry}/${docker-image.namespace}/${docker-image.name} + ${docker-image.registry}/${docker-image.namespace}/${docker-image.name} + + + ${project.version}-SNAPSHOT-${maven.build.timestamp}Z + ${project.version} + latest +