You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2021/12/09 07:24:33 UTC

[maven-wrapper] 01/01: [MWRAPPER-32] ensure Maven core dependencies have provided scope

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MWRAPPER-32
in repository https://gitbox.apache.org/repos/asf/maven-wrapper.git

commit 5abdf4074aa2cd460d23ac909fd168d028ad6869
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Thu Dec 9 08:24:25 2021 +0100

    [MWRAPPER-32] ensure Maven core dependencies have provided scope
---
 maven-wrapper-plugin/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/maven-wrapper-plugin/pom.xml b/maven-wrapper-plugin/pom.xml
index 21792cd..6d75f7e 100644
--- a/maven-wrapper-plugin/pom.xml
+++ b/maven-wrapper-plugin/pom.xml
@@ -46,11 +46,13 @@ under the License.
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
       <version>${mavenVersion}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
       <version>${mavenVersion}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
@@ -61,6 +63,16 @@ under the License.
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-artifact-transfer</artifactId>
       <version>0.12.0</version>
+      <exclusions>
+        <exclusion>
+          <groupId>org.apache.maven</groupId>
+          <artifactId>maven-artifact</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.maven</groupId>
+          <artifactId>maven-model</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>