From 8010f6ef007e6af87824ae1ac91f12edf544679d Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 14 Sep 2017 11:47:24 +0200 Subject: [PATCH] Rationalize JUnit5 dependency management This commit only provides dependency management for JUnit Jupiter, excluding experimental and migration support artifacts. It also removes dependency management for the platform as it is used by IDEs and build tools). The `junit-platform.version` is still available though to allow users to configure their plugin with a supported placeholder for the version. Also, given that `junit-vintage-engine`'s version does not match the JUnit 4 version it supports, we will not add dependency management for it. Closes gh-10240 --- spring-boot-dependencies/pom.xml | 10 ---------- .../spring-boot-sample-junit-jupiter/pom.xml | 5 ----- 2 files changed, 15 deletions(-) diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index 3416e6a488..13f529fdf1 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -948,16 +948,6 @@ junit-jupiter-engine ${junit-jupiter.version} - - org.junit.platform - junit-platform-engine - ${junit-platform.version} - - - org.junit.platform - junit-platform-launcher - ${junit-platform.version} - mysql mysql-connector-java diff --git a/spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml b/spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml index 77c84c3bd3..ac1dbecf0e 100644 --- a/spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml +++ b/spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml @@ -38,11 +38,6 @@ - - org.junit.platform - junit-platform-launcher - test - org.junit.jupiter junit-jupiter-api