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

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new dcbabfb8ae fix: bump maven-plugin-api version in MNG-1088 IT from 
4.1.0-SNAPSHOT to 4.2.0-SNAPSHOT (#13833)
dcbabfb8ae is described below

commit dcbabfb8ae9d28307832a0876a4139ff9e24f574
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Nov 4 18:22:59 2026 +0100

    fix: bump maven-plugin-api version in MNG-1088 IT from 4.1.0-SNAPSHOT to 
4.2.0-SNAPSHOT (#13833)
    
    The MNG-1088 IT plugin POM was added when master was at 4.1.0-SNAPSHOT but
    master has since been bumped to 4.2.0-SNAPSHOT.  The hardcoded 
4.1.0-SNAPSHOT
    dependency causes a build failure because that artifact is no longer 
available
    in the CI environment, breaking the integration-tests job on all platforms.
---
 .../org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java  | 2 +-
 its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java
 
b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java
index f3c033daa4..180b08a412 100644
--- 
a/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java
+++ 
b/its/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng1088ReactorPluginResolutionTest.java
@@ -47,7 +47,7 @@ public void testitMNG1088() throws Exception {
         verifier.setAutoclean(false);
         verifier.deleteDirectory("client/target");
         verifier.deleteArtifacts("org.apache.maven.its.mng1088");
-        verifier.addCliArguments("-b", "concurrent", "package");
+        verifier.addCliArguments("-DmavenVersion=" + 
verifier.getMavenVersion(), "-b", "concurrent", "package");
         verifier.execute();
         verifier.verifyErrorFreeLog();
 
diff --git a/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml 
b/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml
index e765c82c47..6e250c9c76 100644
--- a/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml
+++ b/its/core-it-suite/src/test/resources/mng-1088/plugin/pom.xml
@@ -40,7 +40,7 @@ under the License.
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
-      <version>4.1.0-SNAPSHOT</version>
+      <version>${mavenVersion}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>

Reply via email to