diff --git a/dropwizard-bom/pom.xml b/dropwizard-bom/pom.xml index d687c66d574..8c2fdbe5973 100644 --- a/dropwizard-bom/pom.xml +++ b/dropwizard-bom/pom.xml @@ -595,6 +595,13 @@ junit ${junit.version} + + org.junit + junit-bom + ${junit5.version} + pom + import + org.mockito mockito-core diff --git a/dropwizard-example/pom.xml b/dropwizard-example/pom.xml index 5f0a0cbbbf7..c224aa97e92 100644 --- a/dropwizard-example/pom.xml +++ b/dropwizard-example/pom.xml @@ -89,7 +89,7 @@ org.junit.jupiter - junit-jupiter-engine + junit-jupiter ${junit5.version} test diff --git a/dropwizard-testing/pom.xml b/dropwizard-testing/pom.xml index b72b00c12c1..d9db27e7939 100644 --- a/dropwizard-testing/pom.xml +++ b/dropwizard-testing/pom.xml @@ -32,11 +32,11 @@ junit junit compile + true org.junit.jupiter - junit-jupiter-engine - ${junit5.version} + junit-jupiter compile true diff --git a/pom.xml b/pom.xml index bcf3453c33f..75024bd0ce1 100644 --- a/pom.xml +++ b/pom.xml @@ -425,6 +425,13 @@ ${junit.version} test + + org.junit + junit-bom + ${junit5.version} + pom + import + org.mockito mockito-core @@ -443,14 +450,7 @@ org.junit.jupiter - junit-jupiter-engine - ${junit5.version} - test - - - org.junit.jupiter - junit-jupiter-params - ${junit5.version} + junit-jupiter test