From 04aecc5c84e2b2f4c59ec86850d6bcd25d3bc912 Mon Sep 17 00:00:00 2001 From: Tomasz Golabek Date: Thu, 11 Apr 2019 11:47:50 +0200 Subject: [PATCH] Fix for jupiter tests execution. Currently mvn-surefire-plugin doesnt execute junit5 tests. Purpose of this merge request is to resolve the problem. Change-Id: Idb63483c87b1137b21beabed9d24bbff6f01cf53 Issue-ID: SDC-2094 Signed-off-by: Tomasz Golabek --- .../onap-generic-artifact-browser-service/pom.xml | 30 ++++++---------------- pom.xml | 28 +++++++++++++++++++- 2 files changed, 35 insertions(+), 23 deletions(-) diff --git a/common/onap-generic-artifact-browser/onap-generic-artifact-browser-service/pom.xml b/common/onap-generic-artifact-browser/onap-generic-artifact-browser-service/pom.xml index 822dfa7ff6..f6f5eec68a 100644 --- a/common/onap-generic-artifact-browser/onap-generic-artifact-browser-service/pom.xml +++ b/common/onap-generic-artifact-browser/onap-generic-artifact-browser-service/pom.xml @@ -13,8 +13,7 @@ onap-generic-artifact-browser-service - 5.4.0 - 2.22.1 + 1.18.2 1.21 1.4.3 @@ -53,14 +52,7 @@ ${commons.io.version} - - - org.junit.jupiter - junit-jupiter-api - ${junit.version} - test - org.hamcrest hamcrest-all @@ -69,25 +61,19 @@ org.junit.jupiter - junit-jupiter-engine + junit-jupiter-api + ${junit-jupiter.version} + test + + + junit + junit ${junit.version} test - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - once - - - - org.apache.maven.plugins diff --git a/pom.xml b/pom.xml index fc92ae308a..bcd20a12c4 100644 --- a/pom.xml +++ b/pom.xml @@ -106,6 +106,10 @@ Modifications copyright (c) 2018 Nokia 2.4.0 0.11 1.3 + 5.1.0 + 5.1.0 + 1.1.0 + 2.22.0 1.3.5 @@ -310,7 +314,29 @@ Modifications copyright (c) 2018 Nokia org.apache.maven.plugins maven-surefire-plugin - 2.22.0 + ${maven-surefire-plugin.version} + + + org.junit.platform + junit-platform-surefire-provider + ${junit-platform.version} + + + org.junit.platform + junit-platform-launcher + ${junit-platform.version} + + + org.junit.jupiter + junit-jupiter-engine + ${junit-jupiter.version} + + + org.junit.vintage + junit-vintage-engine + ${junit-vintage.version} + + org.apache.maven.plugins -- 2.16.6