You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/10/05 22:13:05 UTC
(maven) 01/02: Depend on maven-core instead of maven-compat in 18 core IT plugins
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
commit 89eee368181d9045a883ea46265ee5b802f52d75
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Oct 5 21:33:40 2026 +0200
Depend on maven-core instead of maven-compat in 18 core IT plugins
Part of #8177. These modules use no maven-compat class; they reached
MavenProject in maven-core only transitively through it.
(cherry picked from commit 21de18b615462b6e4a988611b8f5678545c086cb)
---
.../core-it-plugins/maven-it-plugin-configuration/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-clean-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-compiler-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-deploy-plugin/pom.xml | 2 +-
.../core-it-plugins/maven-it-plugin-core-stubs/maven-ear-plugin/pom.xml | 2 +-
.../core-it-plugins/maven-it-plugin-core-stubs/maven-ejb-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-install-plugin/pom.xml | 2 +-
.../core-it-plugins/maven-it-plugin-core-stubs/maven-jar-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-javadoc-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-plugin-plugin/pom.xml | 2 +-
.../core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-site-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-source-plugin/pom.xml | 2 +-
.../maven-it-plugin-core-stubs/maven-surefire-plugin/pom.xml | 2 +-
.../core-it-plugins/maven-it-plugin-core-stubs/maven-war-plugin/pom.xml | 2 +-
its/core-it-support/core-it-plugins/maven-it-plugin-fork/pom.xml | 2 +-
.../core-it-plugins/maven-it-plugin-project-interpolation/pom.xml | 2 +-
its/core-it-support/core-it-plugins/maven-it-plugin-touch/pom.xml | 2 +-
18 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-configuration/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-configuration/pom.xml
index 3fac56aed6..2b99eef8e4 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-configuration/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-configuration/pom.xml
@@ -42,7 +42,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-clean-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-clean-plugin/pom.xml
index 9889663118..2bb219129e 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-clean-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-clean-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-compiler-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-compiler-plugin/pom.xml
index fe1f67d622..3a92328a4c 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-compiler-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-compiler-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-deploy-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-deploy-plugin/pom.xml
index b048637337..69b7686ada 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-deploy-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-deploy-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ear-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ear-plugin/pom.xml
index 02b8721258..952ea736c3 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ear-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ear-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ejb-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ejb-plugin/pom.xml
index 0fcbbd1dea..da1859656c 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ejb-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-ejb-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-install-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-install-plugin/pom.xml
index 597c16e73d..65770bfb19 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-install-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-install-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-jar-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-jar-plugin/pom.xml
index 98477de631..1d2bc360bf 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-jar-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-jar-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-javadoc-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-javadoc-plugin/pom.xml
index 4634113698..985f358261 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-javadoc-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-javadoc-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-plugin-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-plugin-plugin/pom.xml
index 49a3045be4..b20302a022 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-plugin-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-plugin-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/pom.xml
index 203460f0c0..63e1b37199 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-site-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-site-plugin/pom.xml
index 8367e8edcd..5b2515ae62 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-site-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-site-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-source-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-source-plugin/pom.xml
index 75f32cf59e..133daf0262 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-source-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-source-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-surefire-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-surefire-plugin/pom.xml
index 30f2b225c5..b926daa31b 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-surefire-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-surefire-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-war-plugin/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-war-plugin/pom.xml
index f1de491ec7..ebdab68195 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-war-plugin/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-war-plugin/pom.xml
@@ -53,7 +53,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-fork/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-fork/pom.xml
index 1c9985d385..17f250ca73 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-fork/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-fork/pom.xml
@@ -49,7 +49,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml
index 888e182aba..a58cd702b4 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-project-interpolation/pom.xml
@@ -45,7 +45,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
<!-- Test the resolution of the version -->
diff --git a/its/core-it-support/core-it-plugins/maven-it-plugin-touch/pom.xml b/its/core-it-support/core-it-plugins/maven-it-plugin-touch/pom.xml
index 4ed515ccd9..46def24db1 100644
--- a/its/core-it-support/core-it-plugins/maven-it-plugin-touch/pom.xml
+++ b/its/core-it-support/core-it-plugins/maven-it-plugin-touch/pom.xml
@@ -46,7 +46,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
+ <artifactId>maven-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>