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-dependency-analyzer.git


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

commit f0712cd8c0c6fb9cda10b4b334ce6168775b1e47
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 10 19:22:27 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 | 11 +++++++++++
 pom.xml                |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 21ed9a7..d01f6b3 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -27,6 +27,17 @@ updates:
     # Mockito 5.x requires Java 11+
     - dependency-name: "org.mockito:*"
       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"]
+    # 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 4dcf315..12eee19 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,7 +57,7 @@
   </distributionManagement>
 
   <properties>
-    <mavenVersion>3.10.0</mavenVersion>
+    <mavenVersion>3.9.16</mavenVersion>
     <resolverVersion>1.9.27</resolverVersion>
     
<project.build.outputTimestamp>2026-09-05T18:06:14Z</project.build.outputTimestamp>
   </properties>

Reply via email to