From caffb9e19b70bf7db4c3aa7e0378dab33a66c8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Mon, 27 Dec 2021 10:32:11 +0100 Subject: [PATCH] [ARCHETYPE-624] mark scope = provided for Maven Core provided artifacts --- maven-archetype-plugin/pom.xml | 47 +++++++++++++++++++--------------- pom.xml | 29 +++++++++++++++++++-- 2 files changed, 54 insertions(+), 22 deletions(-) diff --git a/maven-archetype-plugin/pom.xml b/maven-archetype-plugin/pom.xml index d6995c97..991d0440 100644 --- a/maven-archetype-plugin/pom.xml +++ b/maven-archetype-plugin/pom.xml @@ -49,10 +49,37 @@ + + org.apache.maven + maven-core + + + org.apache.maven + maven-plugin-api + + + org.apache.maven + maven-artifact + + + org.apache.maven + maven-model + + + org.apache.maven + maven-settings + + org.apache.maven maven-compat test + + + org.codehaus.plexus + * + + @@ -91,26 +118,6 @@ org.codehaus.plexus plexus-interactivity-api - - org.apache.maven - maven-plugin-api - - - org.apache.maven - maven-core - - - org.apache.maven - maven-artifact - - - org.apache.maven - maven-model - - - org.apache.maven - maven-settings - org.apache.maven.plugin-tools diff --git a/pom.xml b/pom.xml index 527d5edf..68eeea69 100644 --- a/pom.xml +++ b/pom.xml @@ -75,9 +75,9 @@ scm:git:https://gitbox.apache.org/repos/asf/maven-archetype.git 3.0 + 3.3.3 7 true - 3.3.3 2.22.2 archetype-archives/archetype-LATEST 2020-07-13T21:44:31Z @@ -115,31 +115,37 @@ org.apache.maven maven-artifact ${mavenVersion} + provided org.apache.maven maven-core ${mavenVersion} + provided org.apache.maven maven-model ${mavenVersion} + provided org.apache.maven maven-plugin-api ${mavenVersion} + provided org.apache.maven maven-settings ${mavenVersion} + provided org.apache.maven maven-settings-builder ${mavenVersion} + provided org.apache.maven.shared @@ -168,7 +174,7 @@ org.codehaus.plexus - plexus-component-api + * @@ -220,12 +226,31 @@ org.apache.maven.wagon wagon-provider-api ${wagonVersion} + provided org.apache.maven.wagon wagon-http ${wagonVersion} + + org.sonatype.aether + aether-api + 1.7 + provided + + + org.sonatype.aether + aether-impl + 1.7 + provided + + + org.sonatype.aether + aether-spi + 1.7 + provided + org.sonatype.aether aether-connector-file