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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new e354aa5  Build against Maven 3.9.16 instead of Maven 3.10.0
e354aa5 is described below

commit e354aa5ced71a4c475bc12f50018c6b24c3f64b0
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 10 19:22:48 2026 +0100

    Build against Maven 3.9.16 instead of Maven 3.10.0
    
    Maven 3.10.0 is the first 3.x release that ships Resolver 2, and the plugin 
declares a
    Maven 3.9 prerequisite. Back to Maven 3.9.16.
    
    Refs: apache/maven-parent#636
---
 .github/dependabot.yml | 17 +++++++++++++++++
 pom.xml                |  2 +-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 058d00e..9e8a325 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -30,6 +30,23 @@ updates:
       # Groovy 5 requires Java 11 and runs inside the user's Maven JVM on Java 
8
       - dependency-name: "org.apache.groovy:*"
         versions: [">= 5.0.0"]
+      # Baseline is Maven 3.9 with Resolver 1.9; Maven 3.10 pulls Resolver 2.x.
+      # Excludes the Maven artifacts this plugin uses.
+      - dependency-name: "org.apache.maven:maven-artifact"
+        versions: [">= 3.10.0"]
+      - dependency-name: "org.apache.maven:maven-core"
+        versions: [">= 3.10.0"]
+      - dependency-name: "org.apache.maven:maven-model"
+        versions: [">= 3.10.0"]
+      - dependency-name: "org.apache.maven:maven-plugin-api"
+        versions: [">= 3.10.0"]
+      - dependency-name: "org.apache.maven:maven-settings"
+        versions: [">= 3.10.0"]
+      - dependency-name: "org.apache.maven:maven-settings-builder"
+        versions: [">= 3.10.0"]
+      # Resolver 2.x is not part of the Maven 3.9 baseline.
+      - dependency-name: "org.apache.maven.resolver:*"
+        versions: [">= 2.0.0"]
 
   - package-ecosystem: "github-actions"
     directory: "/"
diff --git a/pom.xml b/pom.xml
index cf055dd..3fa198c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@ under the License.
   </distributionManagement>
 
   <properties>
-    <mavenVersion>3.10.0</mavenVersion>
+    <mavenVersion>3.9.16</mavenVersion>
     <resolverVersion>1.9.27</resolverVersion>
     <beanshell-groupId>org.apache-extras.beanshell</beanshell-groupId>
     <beanshell-artifactId>bsh</beanshell-artifactId>

Reply via email to