You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/12/26 21:54:32 UTC

[maven-enforcer] 01/01: [MENFORCER-435] Remove not needed maven-dependency-tree and maven-compat

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

sjaranowski pushed a commit to branch MENFORCER-435-cleanup
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git

commit 197148b0e827c420f472c545b4c81ea9db56710a
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Mon Dec 26 22:54:02 2022 +0100

    [MENFORCER-435] Remove not needed maven-dependency-tree and maven-compat
---
 enforcer-rules/pom.xml        | 17 -----------------
 maven-enforcer-plugin/pom.xml |  5 -----
 pom.xml                       | 11 -----------
 3 files changed, 33 deletions(-)

diff --git a/enforcer-rules/pom.xml b/enforcer-rules/pom.xml
index 7abe03f..113183e 100644
--- a/enforcer-rules/pom.xml
+++ b/enforcer-rules/pom.xml
@@ -117,23 +117,6 @@
       <artifactId>mockito-core</artifactId>
       <scope>test</scope>
     </dependency>
-    <!-- TODO: Consider removing this in 4.0+ -->
-    <dependency>
-      <groupId>org.apache.maven.shared</groupId>
-      <artifactId>maven-dependency-tree</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.eclipse.aether</groupId>
-          <artifactId>aether-util</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <!-- TODO: Consider removing this in 4.0+ -->
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-compat</artifactId>
-      <scope>compile</scope>
-    </dependency>
     <dependency>
       <groupId>org.assertj</groupId>
       <artifactId>assertj-core</artifactId>
diff --git a/maven-enforcer-plugin/pom.xml b/maven-enforcer-plugin/pom.xml
index 7413091..b2cac1b 100644
--- a/maven-enforcer-plugin/pom.xml
+++ b/maven-enforcer-plugin/pom.xml
@@ -49,11 +49,6 @@
       <artifactId>maven-core</artifactId>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-artifact</artifactId>
-      <scope>provided</scope>
-    </dependency>
     <dependency>
       <groupId>org.apache.maven.plugin-tools</groupId>
       <artifactId>maven-plugin-annotations</artifactId>
diff --git a/pom.xml b/pom.xml
index 491b7f5..e4c98a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -118,12 +118,6 @@
         <artifactId>maven-core</artifactId>
         <version>${maven.version}</version>
       </dependency>
-      <dependency>
-        <groupId>org.apache.maven</groupId>
-        <artifactId>maven-compat</artifactId>
-        <version>${maven.version}</version>
-        <scope>test</scope>
-      </dependency>
       <dependency>
         <groupId>org.apache.maven.shared</groupId>
         <artifactId>maven-common-artifact-filters</artifactId>
@@ -180,11 +174,6 @@
           </exclusion>
         </exclusions>
       </dependency>
-      <dependency>
-        <groupId>org.apache.maven.shared</groupId>
-        <artifactId>maven-dependency-tree</artifactId>
-        <version>3.1.1</version>
-      </dependency>
       <dependency>
         <groupId>org.apache.maven.shared</groupId>
         <artifactId>maven-shared-utils</artifactId>