Remove direct junit-platform-launcher dependency

Replace any direct `junit-platform-launcher` dependencies and instead
rely on the test runner providing it. Launcher related class are not
handled via reflection.

This update allows us to workaround SUREFIRE-1679.

Closes gh-17517
This commit is contained in:
Phillip Webb
2019-07-15 13:15:48 +01:00
parent 543fcdbbfd
commit 4fe5e9e31e
13 changed files with 374 additions and 52 deletions

View File

@@ -218,7 +218,6 @@
<artifactId>spring-security-test</artifactId>
<optional>true</optional>
</dependency>
<!-- Test -->
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -327,11 +326,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-async</artifactId>