From 5d1cfd47f384d175f62f3ab4ca6696351b1b2490 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Wed, 24 Apr 2024 11:41:31 +0200 Subject: [PATCH] Cleanup dependencies --- apache-maven/pom.xml | 5 +++ api/maven-api-core/pom.xml | 2 +- api/maven-api-di/pom.xml | 7 ---- api/maven-api-metadata/pom.xml | 2 +- api/maven-api-model/pom.xml | 4 ++ api/maven-api-plugin/pom.xml | 4 ++ api/maven-api-settings/pom.xml | 10 +++++ api/maven-api-toolchain/pom.xml | 4 ++ maven-api-impl/pom.xml | 62 ++++++++++++++++++++++++++++--- maven-artifact/pom.xml | 8 ++++ maven-builder-support/pom.xml | 7 ++++ maven-compat/pom.xml | 6 +++ maven-core/pom.xml | 20 +++++++--- maven-di/pom.xml | 10 +++++ maven-embedder/pom.xml | 10 +++++ maven-jline/pom.xml | 4 ++ maven-model-builder/pom.xml | 38 +++++++++++++------ maven-model/pom.xml | 20 +++++++--- maven-plugin-api/pom.xml | 26 +++++++++++++ maven-repository-metadata/pom.xml | 14 +++++++ maven-resolver-provider/pom.xml | 33 ++++++++++++++++ maven-settings-builder/pom.xml | 18 +++++++-- maven-settings/pom.xml | 16 ++++++++ maven-slf4j-provider/pom.xml | 11 ++++++ maven-slf4j-wrapper/pom.xml | 11 ++++++ maven-toolchain-builder/pom.xml | 19 ++++++++++ maven-toolchain-model/pom.xml | 6 ++- maven-xml-impl/pom.xml | 10 +++++ pom.xml | 9 ++++- 29 files changed, 353 insertions(+), 43 deletions(-) diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml index 4df9e58350..f6f193d75f 100644 --- a/apache-maven/pom.xml +++ b/apache-maven/pom.xml @@ -122,6 +122,11 @@ under the License. asm + + org.junit.jupiter + junit-jupiter-api + test + diff --git a/api/maven-api-core/pom.xml b/api/maven-api-core/pom.xml index 57f5261acf..d983fae3de 100644 --- a/api/maven-api-core/pom.xml +++ b/api/maven-api-core/pom.xml @@ -53,7 +53,7 @@ org.apache.maven - maven-api-di + maven-api-xml diff --git a/api/maven-api-di/pom.xml b/api/maven-api-di/pom.xml index 4d02109801..6f9086a51e 100644 --- a/api/maven-api-di/pom.xml +++ b/api/maven-api-di/pom.xml @@ -30,11 +30,4 @@ Maven 4 API :: Dependency Injection Maven 4 API - Dependency Injection - - - org.apache.maven - maven-api-meta - - - diff --git a/api/maven-api-metadata/pom.xml b/api/maven-api-metadata/pom.xml index ba4a488b4a..06df614e31 100644 --- a/api/maven-api-metadata/pom.xml +++ b/api/maven-api-metadata/pom.xml @@ -33,7 +33,7 @@ under the License. org.apache.maven - maven-api-xml + maven-api-meta diff --git a/api/maven-api-model/pom.xml b/api/maven-api-model/pom.xml index 6fe8f02d27..298470e6b5 100644 --- a/api/maven-api-model/pom.xml +++ b/api/maven-api-model/pom.xml @@ -32,6 +32,10 @@ under the License. Maven 4 API - Immutable Model for Maven POM (Project Object Model). + + org.apache.maven + maven-api-meta + org.apache.maven maven-api-xml diff --git a/api/maven-api-plugin/pom.xml b/api/maven-api-plugin/pom.xml index a836cb23d1..29c6c982bf 100644 --- a/api/maven-api-plugin/pom.xml +++ b/api/maven-api-plugin/pom.xml @@ -31,6 +31,10 @@ under the License. Maven 4 API - Immutable Plugin model. + + org.apache.maven + maven-api-meta + org.apache.maven maven-api-xml diff --git a/api/maven-api-settings/pom.xml b/api/maven-api-settings/pom.xml index 83f67cd4ea..cad0763042 100644 --- a/api/maven-api-settings/pom.xml +++ b/api/maven-api-settings/pom.xml @@ -32,10 +32,20 @@ under the License. Maven 4 API - Immutable Settings model. + + org.apache.maven + maven-api-meta + org.apache.maven maven-api-xml + + + org.junit.jupiter + junit-jupiter-api + test + diff --git a/api/maven-api-toolchain/pom.xml b/api/maven-api-toolchain/pom.xml index 8f69884ee6..ada4845619 100644 --- a/api/maven-api-toolchain/pom.xml +++ b/api/maven-api-toolchain/pom.xml @@ -31,6 +31,10 @@ under the License. Maven 4 API - Immutable Toolchain model. + + org.apache.maven + maven-api-meta + org.apache.maven maven-api-xml diff --git a/maven-api-impl/pom.xml b/maven-api-impl/pom.xml index 9431ebad27..212488ed1e 100644 --- a/maven-api-impl/pom.xml +++ b/maven-api-impl/pom.xml @@ -44,7 +44,27 @@ under the License. org.apache.maven - maven-di + maven-api-xml + + + org.apache.maven + maven-api-toolchain + + + org.apache.maven + maven-api-di + + + org.apache.maven + maven-api-meta + + + org.apache.maven + maven-api-model + + + org.apache.maven + maven-api-settings org.apache.maven.resolver @@ -62,20 +82,52 @@ under the License. org.apache.maven maven-xml-impl - - org.apache.maven.resolver - maven-resolver-impl - org.codehaus.plexus plexus-interpolation + + com.fasterxml.woodstox + woodstox-core + + + org.codehaus.woodstox + stax2-api + + + org.slf4j + slf4j-api + + + org.apache.maven.resolver + maven-resolver-impl + + + org.junit.jupiter + junit-jupiter-api + test + + + org.mockito + mockito-core + test + org.mockito mockito-junit-jupiter test + + org.apache.maven + maven-di + test + + + org.apache.maven.resolver + maven-resolver-named-locks + test + org.apache.maven.resolver maven-resolver-connector-basic diff --git a/maven-artifact/pom.xml b/maven-artifact/pom.xml index b04eb4f8c5..ae6784f644 100644 --- a/maven-artifact/pom.xml +++ b/maven-artifact/pom.xml @@ -30,6 +30,14 @@ under the License. Maven Artifact + + + org.junit.jupiter + junit-jupiter-api + test + + + diff --git a/maven-builder-support/pom.xml b/maven-builder-support/pom.xml index c41ff2405d..6283133394 100644 --- a/maven-builder-support/pom.xml +++ b/maven-builder-support/pom.xml @@ -31,4 +31,11 @@ under the License. Maven Builder Support Support for descriptor builders (model, setting, toolchains) + + + org.junit.jupiter + junit-jupiter-api + test + + diff --git a/maven-compat/pom.xml b/maven-compat/pom.xml index 533b8b3636..1cc622de6a 100644 --- a/maven-compat/pom.xml +++ b/maven-compat/pom.xml @@ -95,6 +95,12 @@ under the License. org.eclipse.sisu.plexus provided + + + org.hamcrest + hamcrest + test + org.eclipse.sisu org.eclipse.sisu.inject diff --git a/maven-core/pom.xml b/maven-core/pom.xml index cc420d83bb..37f5b3970d 100644 --- a/maven-core/pom.xml +++ b/maven-core/pom.xml @@ -138,6 +138,21 @@ under the License. + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-params + test + + + org.hamcrest + hamcrest + test + org.slf4j slf4j-simple @@ -153,11 +168,6 @@ under the License. xmlunit-assertj test - - org.junit.jupiter - junit-jupiter-params - test - org.codehaus.plexus plexus-testing diff --git a/maven-di/pom.xml b/maven-di/pom.xml index 065c979882..e283e41f29 100644 --- a/maven-di/pom.xml +++ b/maven-di/pom.xml @@ -34,6 +34,16 @@ under the License. org.apache.maven maven-api-di + + org.apache.maven + maven-api-meta + + + + org.junit.jupiter + junit-jupiter-api + test + diff --git a/maven-embedder/pom.xml b/maven-embedder/pom.xml index 9ed5aa16bc..79fa5cf181 100644 --- a/maven-embedder/pom.xml +++ b/maven-embedder/pom.xml @@ -147,11 +147,21 @@ under the License. provided + + org.junit.jupiter + junit-jupiter-api + test + org.junit.jupiter junit-jupiter-params test + + org.hamcrest + hamcrest + test + org.mockito mockito-core diff --git a/maven-jline/pom.xml b/maven-jline/pom.xml index 2d58f13dfb..a7209468d2 100644 --- a/maven-jline/pom.xml +++ b/maven-jline/pom.xml @@ -30,6 +30,10 @@ under the License. Provides the JLine integration in Maven + + org.apache.maven + maven-api-meta + org.apache.maven maven-api-core diff --git a/maven-model-builder/pom.xml b/maven-model-builder/pom.xml index ae6d92fdf6..0369bcced5 100644 --- a/maven-model-builder/pom.xml +++ b/maven-model-builder/pom.xml @@ -42,7 +42,15 @@ under the License. org.apache.maven - maven-xml-impl + maven-api-xml + + + org.apache.maven + maven-api-meta + + + org.apache.maven + maven-api-model org.apache.maven @@ -60,6 +68,14 @@ under the License. org.codehaus.plexus plexus-interpolation + + org.codehaus.plexus + plexus-xml + + + com.fasterxml.woodstox + woodstox-core + javax.inject javax.inject @@ -72,26 +88,26 @@ under the License. + + org.junit.jupiter + junit-jupiter-api + test + + + org.hamcrest + hamcrest + test + org.mockito mockito-core test - - org.xmlunit - xmlunit-core - test - org.xmlunit xmlunit-matchers test - - org.xmlunit - xmlunit-assertj - test - org.codehaus.plexus plexus-utils diff --git a/maven-model/pom.xml b/maven-model/pom.xml index f5ed2e1058..2d5522de9e 100644 --- a/maven-model/pom.xml +++ b/maven-model/pom.xml @@ -38,11 +38,15 @@ under the License. org.apache.maven - maven-api-impl + maven-api-xml org.apache.maven - maven-xml-impl + maven-api-meta + + + org.apache.maven + maven-api-impl org.codehaus.plexus @@ -50,14 +54,18 @@ under the License. - org.openjdk.jmh - jmh-core - 1.37 + org.junit.jupiter + junit-jupiter-api + test + + + org.hamcrest + hamcrest test org.openjdk.jmh - jmh-generator-annprocess + jmh-core 1.37 test diff --git a/maven-plugin-api/pom.xml b/maven-plugin-api/pom.xml index ae809caade..c2b2e397ad 100644 --- a/maven-plugin-api/pom.xml +++ b/maven-plugin-api/pom.xml @@ -32,10 +32,22 @@ under the License. The API for Maven 3 plugins - Mojos - development. + + org.apache.maven + maven-api-xml + + + org.apache.maven + maven-api-meta + org.apache.maven maven-api-plugin + + org.apache.maven + maven-xml-impl + org.apache.maven maven-model @@ -44,6 +56,14 @@ under the License. org.apache.maven maven-artifact + + com.fasterxml.woodstox + woodstox-core + + + org.codehaus.woodstox + stax2-api + org.eclipse.sisu org.eclipse.sisu.plexus @@ -62,6 +82,12 @@ under the License. org.apache.maven.resolver maven-resolver-api + + + org.junit.jupiter + junit-jupiter-api + test + diff --git a/maven-repository-metadata/pom.xml b/maven-repository-metadata/pom.xml index 3592275fd2..5617329124 100644 --- a/maven-repository-metadata/pom.xml +++ b/maven-repository-metadata/pom.xml @@ -32,6 +32,10 @@ under the License. Per-directory local and remote repository metadata. + + org.apache.maven + maven-api-meta + org.apache.maven maven-api-metadata @@ -49,11 +53,21 @@ under the License. maven-xml-impl + + org.junit.jupiter + junit-jupiter-api + test + org.apache.maven.resolver maven-resolver-api test + + com.fasterxml.woodstox + woodstox-core + test + diff --git a/maven-resolver-provider/pom.xml b/maven-resolver-provider/pom.xml index f5560f2a90..75ede8e5b0 100644 --- a/maven-resolver-provider/pom.xml +++ b/maven-resolver-provider/pom.xml @@ -32,6 +32,34 @@ under the License. Extensions to Maven Resolver for utilizing Maven POM and repository metadata. + + org.apache.maven + maven-api-xml + + + org.apache.maven + maven-api-metadata + + + org.apache.maven + maven-api-spi + + + org.apache.maven + maven-api-core + + + org.apache.maven + maven-api-model + + + org.apache.maven + maven-api-impl + + + org.apache.maven + maven-xml-impl + org.apache.maven maven-model @@ -81,6 +109,11 @@ under the License. slf4j-api + + org.junit.jupiter + junit-jupiter-api + test + javax.inject javax.inject diff --git a/maven-settings-builder/pom.xml b/maven-settings-builder/pom.xml index ec37752a28..45adc1ff5f 100644 --- a/maven-settings-builder/pom.xml +++ b/maven-settings-builder/pom.xml @@ -38,6 +38,14 @@ under the License. + + org.apache.maven + maven-api-settings + + + org.apache.maven + maven-api-core + org.apache.maven maven-api-impl @@ -58,16 +66,18 @@ under the License. org.codehaus.plexus plexus-cipher - - org.codehaus.plexus - plexus-interpolation - javax.inject javax.inject provided + + + org.junit.jupiter + junit-jupiter-api + test + diff --git a/maven-settings/pom.xml b/maven-settings/pom.xml index a848e9dc40..b4e4265bda 100644 --- a/maven-settings/pom.xml +++ b/maven-settings/pom.xml @@ -36,6 +36,14 @@ under the License. org.apache.maven maven-api-settings + + org.apache.maven + maven-api-xml + + + org.apache.maven + maven-api-meta + org.apache.maven maven-xml-impl @@ -44,6 +52,14 @@ under the License. org.codehaus.plexus plexus-xml + + com.fasterxml.woodstox + woodstox-core + + + org.codehaus.woodstox + stax2-api + diff --git a/maven-slf4j-provider/pom.xml b/maven-slf4j-provider/pom.xml index 70e93b586c..302e596b67 100644 --- a/maven-slf4j-provider/pom.xml +++ b/maven-slf4j-provider/pom.xml @@ -49,6 +49,17 @@ under the License. org.apache.maven maven-jline + + + org.junit.jupiter + junit-jupiter-api + test + + + org.hamcrest + hamcrest + test + diff --git a/maven-slf4j-wrapper/pom.xml b/maven-slf4j-wrapper/pom.xml index 6836a984de..7e3d51615c 100644 --- a/maven-slf4j-wrapper/pom.xml +++ b/maven-slf4j-wrapper/pom.xml @@ -36,5 +36,16 @@ under the License. org.slf4j slf4j-api + + + org.junit.jupiter + junit-jupiter-api + test + + + org.hamcrest + hamcrest + test + diff --git a/maven-toolchain-builder/pom.xml b/maven-toolchain-builder/pom.xml index 6554336035..8150462b8a 100644 --- a/maven-toolchain-builder/pom.xml +++ b/maven-toolchain-builder/pom.xml @@ -31,6 +31,14 @@ under the License. The effective toolchain builder. + + org.apache.maven + maven-api-toolchain + + + org.apache.maven + maven-api-core + org.apache.maven maven-api-impl @@ -52,6 +60,17 @@ under the License. javax.inject provided + + + org.codehaus.plexus + plexus-xml + test + + + org.junit.jupiter + junit-jupiter-api + test + org.mockito mockito-core diff --git a/maven-toolchain-model/pom.xml b/maven-toolchain-model/pom.xml index 93016abeac..ba1aa23faf 100644 --- a/maven-toolchain-model/pom.xml +++ b/maven-toolchain-model/pom.xml @@ -37,7 +37,11 @@ under the License. org.apache.maven - maven-xml-impl + maven-api-xml + + + org.apache.maven + maven-api-meta org.codehaus.plexus diff --git a/maven-xml-impl/pom.xml b/maven-xml-impl/pom.xml index eb8b67d887..b0b6124126 100644 --- a/maven-xml-impl/pom.xml +++ b/maven-xml-impl/pom.xml @@ -38,6 +38,10 @@ under the License. com.fasterxml.woodstox woodstox-core + + org.codehaus.woodstox + stax2-api + org.eclipse.sisu org.eclipse.sisu.plexus @@ -62,6 +66,12 @@ under the License. + + + org.junit.jupiter + junit-jupiter-api + test + diff --git a/pom.xml b/pom.xml index e58d847175..59ff88df27 100644 --- a/pom.xml +++ b/pom.xml @@ -511,6 +511,11 @@ under the License. maven-resolver-util ${resolverVersion} + + org.apache.maven.resolver + maven-resolver-named-locks + ${resolverVersion} + org.apache.maven.resolver maven-resolver-connector-basic @@ -631,7 +636,7 @@ under the License. - + + -->