summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTomasz Golabek <tomasz.golabek@nokia.com>2019-04-11 11:47:50 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-04-20 11:04:58 +0000
commit04aecc5c84e2b2f4c59ec86850d6bcd25d3bc912 (patch)
treee3758d8c08636884c9e12955abf56b24baaae707 /pom.xml
parent8fa77ad4d4c2498e40a4c23e6826d9ad73a1dab8 (diff)
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 <tomasz.golabek@nokia.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml28
1 files changed, 27 insertions, 1 deletions
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
<cucumber.version>2.4.0</cucumber.version>
<bean-matchers.version>0.11</bean-matchers.version>
<hamcrest-all.version>1.3</hamcrest-all.version>
+ <junit-jupiter.version>5.1.0</junit-jupiter.version>
+ <junit-vintage.version>5.1.0</junit-vintage.version>
+ <junit-platform.version>1.1.0</junit-platform.version>
+ <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
<!-- parser-->
<sdc-tosca-parser.version>1.3.5</sdc-tosca-parser.version>
@@ -310,7 +314,29 @@ Modifications copyright (c) 2018 Nokia
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.0</version>
+ <version>${maven-surefire-plugin.version}</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-surefire-provider</artifactId>
+ <version>${junit-platform.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.platform</groupId>
+ <artifactId>junit-platform-launcher</artifactId>
+ <version>${junit-platform.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter-engine</artifactId>
+ <version>${junit-jupiter.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.vintage</groupId>
+ <artifactId>junit-vintage-engine</artifactId>
+ <version>${junit-vintage.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>