diff --git a/agent/pom.xml b/agent/pom.xml
index 5752d7bae45..06b5fa17f92 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -19,8 +19,13 @@
provided
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
test
diff --git a/arthas-agent-attach/pom.xml b/arthas-agent-attach/pom.xml
index 8c1464bc5fa..b9ac2c27db0 100644
--- a/arthas-agent-attach/pom.xml
+++ b/arthas-agent-attach/pom.xml
@@ -28,8 +28,13 @@
zt-zip
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
test
diff --git a/arthas-vmtool/pom.xml b/arthas-vmtool/pom.xml
index e4a03915623..ac8e1dd3481 100644
--- a/arthas-vmtool/pom.xml
+++ b/arthas-vmtool/pom.xml
@@ -268,8 +268,13 @@
${project.version}
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
test
diff --git a/boot/pom.xml b/boot/pom.xml
index 56c9a559ab8..0f2090a4017 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -22,8 +22,13 @@
cli
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
test
diff --git a/core/pom.xml b/core/pom.xml
index dbd3f7cb863..52a01d2be62 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -212,8 +212,13 @@
ognl
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
test
diff --git a/memorycompiler/pom.xml b/memorycompiler/pom.xml
index d20283e04c7..754cc453263 100644
--- a/memorycompiler/pom.xml
+++ b/memorycompiler/pom.xml
@@ -30,8 +30,13 @@
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
test
diff --git a/pom.xml b/pom.xml
index f2d72f5b6e5..0c9aa9126d4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -156,10 +156,11 @@
3.1.19
- junit
- junit
- 4.13.1
- test
+ org.junit
+ junit-bom
+ 5.9.3
+ pom
+ import
org.assertj
diff --git a/testcase/pom.xml b/testcase/pom.xml
index 73b635d40c4..27b6ac4c42e 100644
--- a/testcase/pom.xml
+++ b/testcase/pom.xml
@@ -13,8 +13,14 @@
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+ test
diff --git a/tunnel-server/pom.xml b/tunnel-server/pom.xml
index 48960e41263..bc1ca2ccc8e 100644
--- a/tunnel-server/pom.xml
+++ b/tunnel-server/pom.xml
@@ -88,8 +88,13 @@
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
test