diff options
-rw-r--r-- | common/onap-generic-artifact-browser/onap-generic-artifact-browser-service/pom.xml | 30 | ||||
-rw-r--r-- | 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 @@ <artifactId>onap-generic-artifact-browser-service</artifactId> <properties> - <junit.version>5.4.0</junit.version> - <maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version> + <lombok.version>1.18.2</lombok.version> <snakeyaml.version>1.21</snakeyaml.version> <jsurfer.version>1.4.3</jsurfer.version> @@ -53,15 +52,8 @@ <version>${commons.io.version}</version> </dependency> - <!--test--> <dependency> - <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-api</artifactId> - <version>${junit.version}</version> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>${hamcrest-all.version}</version> @@ -69,25 +61,19 @@ </dependency> <dependency> <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-engine</artifactId> + <artifactId>junit-jupiter-api</artifactId> + <version>${junit-jupiter.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> </dependencies> <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>${maven-surefire-plugin.version}</version> - <configuration> - <forkMode>once</forkMode> - </configuration> - </plugin> - </plugins> - </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -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> |