Skip to content

Commit 8010f6e

Browse files
committed
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
1 parent 485d0ed commit 8010f6e

File tree

2 files changed

+0
-15
lines changed
  • spring-boot-dependencies
  • spring-boot-samples/spring-boot-sample-junit-jupiter

2 files changed

+0
-15
lines changed

spring-boot-dependencies/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -948,16 +948,6 @@
948948
<artifactId>junit-jupiter-engine</artifactId>
949949
<version>${junit-jupiter.version}</version>
950950
</dependency>
951-
<dependency>
952-
<groupId>org.junit.platform</groupId>
953-
<artifactId>junit-platform-engine</artifactId>
954-
<version>${junit-platform.version}</version>
955-
</dependency>
956-
<dependency>
957-
<groupId>org.junit.platform</groupId>
958-
<artifactId>junit-platform-launcher</artifactId>
959-
<version>${junit-platform.version}</version>
960-
</dependency>
961951
<dependency>
962952
<groupId>mysql</groupId>
963953
<artifactId>mysql-connector-java</artifactId>

spring-boot-samples/spring-boot-sample-junit-jupiter/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
</exclusion>
3939
</exclusions>
4040
</dependency>
41-
<dependency>
42-
<groupId>org.junit.platform</groupId>
43-
<artifactId>junit-platform-launcher</artifactId>
44-
<scope>test</scope>
45-
</dependency>
4641
<dependency>
4742
<groupId>org.junit.jupiter</groupId>
4843
<artifactId>junit-jupiter-api</artifactId>

0 commit comments

Comments
 (0)