This is an automated email from the ASF dual-hosted git repository.
jinsongzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new 64501c390 [AMORO-2761] Use junit-bom to simplify junit dependencies
(#2762)
64501c390 is described below
commit 64501c3905563e823bf2dc68afe7b23955471271
Author: Paul Lin <[email protected]>
AuthorDate: Mon Apr 22 11:29:38 2024 +0800
[AMORO-2761] Use junit-bom to simplify junit dependencies (#2762)
Co-authored-by: ZhouJinsong <[email protected]>
---
pom.xml | 48 ++++++------------------------------------------
1 file changed, 6 insertions(+), 42 deletions(-)
diff --git a/pom.xml b/pom.xml
index 7b03b0051..d3ef59373 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,9 +96,7 @@
<slf4j.version>1.7.30</slf4j.version>
<log4j.version>2.20.0</log4j.version>
<junit4.version>4.13.2</junit4.version>
- <junit5.jupiter.version>5.9.1</junit5.jupiter.version>
- <junit5.vintage.version>5.9.1</junit5.vintage.version>
- <junit5.platform.version>1.9.1</junit5.platform.version>
+ <junit5.version>5.9.1</junit5.version>
<commons-pool2.version>2.12.0</commons-pool2.version>
<commons-lang3.version>3.14.0</commons-lang3.version>
<cglib.version>2.2.2</cglib.version>
@@ -794,45 +792,11 @@
</dependency>
<dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>${junit5.jupiter.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <version>${junit5.jupiter.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-engine</artifactId>
- <version>${junit5.jupiter.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.junit.vintage</groupId>
- <artifactId>junit-vintage-engine</artifactId>
- <version>${junit5.vintage.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-launcher</artifactId>
- <version>${junit5.platform.version}</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
- <groupId>org.junit.platform</groupId>
- <artifactId>junit-platform-suite-engine</artifactId>
- <version>${junit5.platform.version}</version>
- <scope>test</scope>
+ <groupId>org.junit</groupId>
+ <artifactId>junit-bom</artifactId>
+ <version>${junit5.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
</dependency>
<dependency>