diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index d451afc1e8a..27c30a98743 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -136,7 +136,7 @@ 1.2 1.3.1 4.12 - 5.4.2 + 5.5.0-RC1 2.2.1 1.3.31 5.1.7.RELEASE diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 99b007f15eb..e5deb0782dd 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -6934,9 +6934,9 @@ useful libraries. [TIP] ==== -The starter also brings the vintage engine and `junit:junit` so that you can run both -JUnit 4 and Junit 5 tests. If you have migrated your tests to JUnit 5, you should -exclude JUnit 4 support, as shown in the following example: +The starter also brings the vintage engine so that you can run both JUnit 4 and Junit 5 +tests. If you have migrated your tests to JUnit 5, you should exclude JUnit 4 support, as +shown in the following example: [source,xml,indent=0,subs="verbatim,quotes,attributes"] ---- @@ -6949,10 +6949,6 @@ exclude JUnit 4 support, as shown in the following example: org.junit.vintage junit-vintage-engine - - junit - junit - ---- @@ -9030,8 +9026,7 @@ makes it possible to use `@BeforeClass` and `@AfterClass` annotations on non-sta methods, which is a good fit for Kotlin. JUnit 5 is the default and the vintage engine is provided for backward compatibility with -JUnit 4. If you don't use it, exclude `org.junit.vintange:junit-vintage-engine` and -`junit:junit`. See the +JUnit 4. If you don't use it, exclude `org.junit.vintange:junit-vintage-engine`. See the {junit5-documentation}/#dependency-metadata-junit-jupiter-samples[JUnit 5 documentation] for more details. You also need to {junit5-documentation}/#writing-tests-test-instance-lifecycle-changing-default[switch test diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-test/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-test/pom.xml index 87ca31d504d..abf87ae9129 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-test/pom.xml +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-test/pom.xml @@ -49,16 +49,6 @@ - - junit - junit - - - org.hamcrest - hamcrest-core - - - org.mockito mockito-junit-jupiter 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 d0a350b94f0..15eb0420649 100644 --- a/spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml +++ b/spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml @@ -28,10 +28,6 @@ org.junit.vintage junit-vintage-engine - - junit - junit -