diff --git a/agent/pom.xml b/agent/pom.xml index 5752d7bae4..12db6963b9 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 8c1464bc5f..13b96bdc63 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 e4a0391562..9849e01f44 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 56c9a559ab..90442dde5d 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 dbd3f7cb86..cfda902b71 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 d20283e04c..7aa6d64df8 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 602a99a42d..834e22d6dd 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 73b635d40c..1d5c7729e7 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 b998028336..97f3845022 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 48960e4126..eb22f11a46 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