diff --git a/agent/pom.xml b/agent/pom.xml
index 5752d7bae..12db6963b 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -19,8 +19,13 @@
provided
- junit
- junit
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
test
diff --git a/arthas-agent-attach/pom.xml b/arthas-agent-attach/pom.xml
index 8c1464bc5..13b96bdc6 100644
--- a/arthas-agent-attach/pom.xml
+++ b/arthas-agent-attach/pom.xml
@@ -28,8 +28,13 @@
zt-zip
- junit
- junit
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
test
diff --git a/arthas-vmtool/pom.xml b/arthas-vmtool/pom.xml
index e4a039156..9849e01f4 100644
--- a/arthas-vmtool/pom.xml
+++ b/arthas-vmtool/pom.xml
@@ -268,8 +268,13 @@
${project.version}
- junit
- junit
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
test
diff --git a/boot/pom.xml b/boot/pom.xml
index 56c9a559a..90442dde5 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -22,8 +22,13 @@
cli
- junit
- junit
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
test
diff --git a/core/pom.xml b/core/pom.xml
index dbd3f7cb8..cfda902b7 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -212,8 +212,13 @@
ognl
- junit
- junit
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
test
diff --git a/memorycompiler/pom.xml b/memorycompiler/pom.xml
index d20283e04..7aa6d64df 100644
--- a/memorycompiler/pom.xml
+++ b/memorycompiler/pom.xml
@@ -30,8 +30,13 @@
- junit
- junit
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
test
diff --git a/pom.xml b/pom.xml
index 602a99a42..834e22d6d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -158,10 +158,11 @@
3.4.2
- junit
- junit
- 4.13.1
- test
+ org.junit
+ junit-bom
+ 5.10.0
+ pom
+ import
org.assertj
diff --git a/testcase/pom.xml b/testcase/pom.xml
index 73b635d40..1d5c7729e 100644
--- a/testcase/pom.xml
+++ b/testcase/pom.xml
@@ -10,11 +10,4 @@
arthas-testcase
arthas-testcase
https://github.com/alibaba/arthas
-
-
-
- junit
- junit
-
-
diff --git a/tunnel-common/pom.xml b/tunnel-common/pom.xml
index b99802833..97f384502 100644
--- a/tunnel-common/pom.xml
+++ b/tunnel-common/pom.xml
@@ -12,11 +12,16 @@
https://github.com/alibaba/arthas
-
- junit
- junit
- test
-
+
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
+ test
+
org.assertj
assertj-core
diff --git a/tunnel-server/pom.xml b/tunnel-server/pom.xml
index 48960e412..eb22f11a4 100644
--- a/tunnel-server/pom.xml
+++ b/tunnel-server/pom.xml
@@ -87,11 +87,16 @@
-
- junit
- junit
- test
-
+
+ org.junit.vintage
+ junit-vintage-engine
+ test
+
+
+ org.junit.jupiter
+ junit-jupiter
+ test
+
org.assertj
assertj-core