From c91578bbae10b37212a481ec8ace6b1460c43421 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 7 May 2019 14:22:53 +0200 Subject: [PATCH] Define surefire test provider to use The `spring-boot-test` module has a dependency to TestNG to validate some part of the test infrastructure but no tests are actually written using TestNG. The presence of TestNG is a trigger for the maven surefire plugin and it attempts to run tests using it. This commit defines the explicit provider to use (JUnit 4) Closes gh-16735 --- spring-boot-project/spring-boot-test/pom.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/spring-boot-project/spring-boot-test/pom.xml b/spring-boot-project/spring-boot-test/pom.xml index 5d95372806..119dc920d1 100644 --- a/spring-boot-project/spring-boot-test/pom.xml +++ b/spring-boot-project/spring-boot-test/pom.xml @@ -206,6 +206,17 @@ + + org.apache.maven.plugins + maven-surefire-plugin + + + org.apache.maven.surefire + surefire-junit47 + ${maven-surefire-plugin.version} + + + org.jetbrains.kotlin kotlin-maven-plugin