From 68945ddb6e7c376ffb5696dddffbb99b33e6dbcc Mon Sep 17 00:00:00 2001 From: vempo Date: Sun, 8 Jul 2018 11:29:54 +0300 Subject: Specified test scope for junit/testng/mockito In some modules junit, testng, and mockito where included with default scope. Also, fixed the versions to reference a property from a parent pom. Change-Id: I2477bc631a7593c7176087c9088d2c9f2c2a34ee Issue-ID: SDC-1065 Signed-off-by: vempo --- .../onap-configuration-management-core/pom.xml | 1 - .../onap-configuration-management-test/pom.xml | 48 ++------------- .../onap-sdc-artifact-generator-test/pom.xml | 70 ++++++++++------------ 3 files changed, 38 insertions(+), 81 deletions(-) (limited to 'common') diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml index a05a95ee60..ad2be72c2a 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-core/pom.xml @@ -3,7 +3,6 @@ 4.0.0 onap-configuration-management-core - org.onap.sdc.common onap-configuration-management-core diff --git a/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml index 36065f3e57..64ed8a84b1 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-test/pom.xml @@ -3,7 +3,6 @@ 4.0.0 onap-configuration-management-test - org.onap.sdc.common onap-configuration-management-test @@ -15,55 +14,20 @@ - org.onap.sdc.common - onap-configuration-management-core - ${project.version} - - + org.onap.sdc.common + onap-configuration-management-core + ${project.version} + junit junit - 4.11 + ${junit.version} + test - - - - - org.apache.maven.plugins maven-surefire-plugin diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml index 48a16a3575..e3818934f4 100644 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml +++ b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-test/pom.xml @@ -17,51 +17,45 @@ - org.apache.maven.plugins - maven-shade-plugin - ${mvn.shade.version} - - - package - - shade - - - - - com.google.guava:* - - - - - - + org.apache.maven.plugins + maven-shade-plugin + ${mvn.shade.version} + + + package + + shade + + + + + com.google.guava:* + + + + + + - org.testng - testng - compile + junit + junit + ${junit.version} + + + org.onap.sdc.common + onap-sdc-artifact-generator-api + ${project.version} + + + org.onap.sdc.common + onap-sdc-artifact-generator-core + ${project.version} - - junit - junit - 4.11 - - - org.onap.sdc.common - onap-sdc-artifact-generator-api - ${project.version} - - - - org.onap.sdc.common - onap-sdc-artifact-generator-core - ${project.version} - -- cgit 1.2.3-korg