From 322a9bbb36d86598dff30f4b4b74eda8cd90259c Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Wed, 26 Oct 2022 15:33:01 +0200 Subject: [PATCH] [MPLUGIN-434] Improve dependency management - excludes in one place - exclude plexus-container-default - exclude plexus-component-api --- maven-plugin-plugin/pom.xml | 21 ------------- maven-plugin-report-plugin/pom.xml | 3 -- maven-plugin-tools-generators/pom.xml | 7 ----- maven-script/maven-script-ant/pom.xml | 12 ++++++++ pom.xml | 43 ++++++++++++++++++++++++++- 5 files changed, 54 insertions(+), 32 deletions(-) diff --git a/maven-plugin-plugin/pom.xml b/maven-plugin-plugin/pom.xml index 7b4109643..3f69c50f4 100644 --- a/maven-plugin-plugin/pom.xml +++ b/maven-plugin-plugin/pom.xml @@ -42,8 +42,6 @@ - 1.11.1 - 1.11.1 true @@ -100,28 +98,10 @@ org.apache.maven.doxia doxia-sink-api - ${doxiaVersion} - - - org.codehaus.plexus - plexus-container-default - - org.apache.maven.doxia doxia-site-renderer - ${doxia-sitetoolsVersion} - - - org.codehaus.plexus - plexus-container-default - - - org.codehaus.plexus - plexus-component-api - - @@ -151,7 +131,6 @@ org.apache.maven.reporting maven-reporting-impl - ${reportingImplVersion} diff --git a/maven-plugin-report-plugin/pom.xml b/maven-plugin-report-plugin/pom.xml index 852969071..24342904f 100644 --- a/maven-plugin-report-plugin/pom.xml +++ b/maven-plugin-report-plugin/pom.xml @@ -40,7 +40,6 @@ - 1.11.1 true @@ -91,14 +90,12 @@ org.apache.maven.doxia doxia-sink-api - ${doxiaVersion} org.apache.maven.reporting maven-reporting-impl - ${reportingImplVersion} diff --git a/maven-plugin-tools-generators/pom.xml b/maven-plugin-tools-generators/pom.xml index 736c91d8a..3fb4b4446 100644 --- a/maven-plugin-tools-generators/pom.xml +++ b/maven-plugin-tools-generators/pom.xml @@ -106,14 +106,7 @@ org.apache.maven.reporting maven-reporting-impl - ${reportingImplVersion} test - - - org.codehaus.plexus - plexus-container-default - - org.apache.maven.plugin-testing diff --git a/maven-script/maven-script-ant/pom.xml b/maven-script/maven-script-ant/pom.xml index 25c558d99..cbba0e1f6 100644 --- a/maven-script/maven-script-ant/pom.xml +++ b/maven-script/maven-script-ant/pom.xml @@ -36,11 +36,23 @@ under the License. org.apache.ant ant ${antVersion} + + + com.sun + tools + + org.apache.ant ant-launcher ${antVersion} + + + com.sun + tools + + org.apache.maven diff --git a/pom.xml b/pom.xml index de7fa1e13..ebcdf48c7 100644 --- a/pom.xml +++ b/pom.xml @@ -92,7 +92,6 @@ - 2.22.2 8 3.3.0 3.2.5 @@ -102,6 +101,8 @@ 1.10.12 plugin-tools-archives/plugin-tools-LATEST 9.4 + 1.11.1 + 1.11.1 3.4.2 3.1.1 3.2.0 @@ -181,6 +182,46 @@ maven-settings ${mavenVersion} + + + org.apache.maven.doxia + doxia-sink-api + ${doxiaVersion} + + + org.codehaus.plexus + plexus-container-default + + + + + org.apache.maven.doxia + doxia-site-renderer + ${doxia-sitetoolsVersion} + + + org.codehaus.plexus + plexus-container-default + + + org.codehaus.plexus + plexus-component-api + + + + + org.apache.maven.reporting + maven-reporting-impl + ${reportingImplVersion} + + + plexus-container-default + org.codehaus.plexus + + + + + org.slf4j slf4j-api