From f695deac3edcfad857c91557991cba34c523f258 Mon Sep 17 00:00:00 2001 From: Talysson Castro Date: Mon, 8 Jan 2024 13:09:15 -0300 Subject: [PATCH] chore: Move the JUnit dependencies to dependencyManagement section in parent POM and use them in children's projects --- cli/pom.xml | 20 ++++++++------------ library/pom.xml | 30 ++++++++++++------------------ maven-plugin/pom.xml | 20 ++++++++------------ pom.xml | 23 +++++++++++++++++++++++ 4 files changed, 51 insertions(+), 42 deletions(-) diff --git a/cli/pom.xml b/cli/pom.xml index 1df5e7b5..d3d5b96f 100644 --- a/cli/pom.xml +++ b/cli/pom.xml @@ -106,6 +106,14 @@ + + org.junit.platform + junit-platform-suite-engine + + + org.junit.jupiter + junit-jupiter-engine + info.picocli picocli @@ -127,18 +135,6 @@ 2.2 test - - org.junit.platform - junit-platform-suite-engine - ${junit.platform.version} - test - - - org.junit.jupiter - junit-jupiter-engine - ${junit.version} - test - org.codehaus.groovy groovy-test diff --git a/library/pom.xml b/library/pom.xml index b4cf4c9d..9d61cd76 100644 --- a/library/pom.xml +++ b/library/pom.xml @@ -229,6 +229,18 @@ + + org.junit.platform + junit-platform-suite-engine + + + org.junit.jupiter + junit-jupiter-engine + + + org.junit.jupiter + junit-jupiter-params + org.codehaus.groovy groovy @@ -312,24 +324,6 @@ 1.3 test - - org.junit.platform - junit-platform-suite-engine - ${junit.platform.version} - test - - - org.junit.jupiter - junit-jupiter-engine - ${junit.version} - test - - - org.junit.jupiter - junit-jupiter-params - ${junit.version} - test - io.vertx vertx-web diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml index 20ebd99f..4113b32d 100644 --- a/maven-plugin/pom.xml +++ b/maven-plugin/pom.xml @@ -84,6 +84,14 @@ + + org.junit.platform + junit-platform-suite-engine + + + org.junit.jupiter + junit-jupiter-engine + org.apache.maven.plugin-tools maven-plugin-annotations @@ -113,18 +121,6 @@ 2.2 test - - org.junit.platform - junit-platform-suite-engine - ${junit.platform.version} - test - - - org.junit.jupiter - junit-jupiter-engine - ${junit.version} - test - org.codehaus.groovy groovy-test diff --git a/pom.xml b/pom.xml index 6af169ea..5283ba84 100644 --- a/pom.xml +++ b/pom.xml @@ -143,6 +143,29 @@ + + + + org.junit.platform + junit-platform-suite-engine + ${junit.platform.version} + test + + + org.junit.jupiter + junit-jupiter-engine + ${junit.version} + test + + + org.junit.jupiter + junit-jupiter-params + ${junit.version} + test + + + + maven-publish