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-toolchains-plugin.git


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

commit 4b99f76102ef5a8e78ce503180a994dd39618cfa
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 10 19:23:18 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 | 6 ++++++
 pom.xml                | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 77051e6..d70b525 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -25,6 +25,12 @@ updates:
       # Maven 3 so use SLF4J 1.7.x
       - dependency-name: "org.slf4j:*"
         versions: [">= 2.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-core"
+        versions: [">= 3.10.0"]
+      - dependency-name: "org.apache.maven:maven-plugin-api"
+        versions: [">= 3.10.0"]
   - package-ecosystem: "github-actions"
     directory: "/"
     schedule:
diff --git a/pom.xml b/pom.xml
index 932deef..be1cb84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,7 +67,7 @@ under the License.
   </distributionManagement>
 
   <properties>
-    <mavenVersion>3.10.0</mavenVersion>
+    <mavenVersion>3.9.16</mavenVersion>
     
<project.build.outputTimestamp>2026-07-21T21:48:43Z</project.build.outputTimestamp>
     <!-- property used in src/it/select-jdk-env-multi/invoker.properties -->
     <JAVA_HOME>${env.JAVA_HOME}</JAVA_HOME>

Reply via email to