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


The following commit(s) were added to refs/heads/master by this push:
     new 76ee654  Build against Maven 3.9.16 and Resolver 1.9.27
76ee654 is described below

commit 76ee654d4146558fdcf2a38177ab29079ecf6a3f
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 10 19:23:03 2026 +0100

    Build against Maven 3.9.16 and Resolver 1.9.27
    
    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 with the Resolver 1.9.27 it 
ships.
    
    Refs: apache/maven-parent#636
---
 .github/dependabot.yml               | 15 +++++++++++++++
 maven-plugin-testing-harness/pom.xml |  6 +++---
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 1c3cedd..e49bdca 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -30,3 +30,18 @@ updates:
       # Mockito 5 requires Java 11; the build still runs on JDK 8
       - 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"]
+      - dependency-name: "org.apache.maven:maven-plugin-api"
+        versions: [">= 3.10.0"]
+      - dependency-name: "org.apache.maven:maven-resolver-provider"
+        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"]
diff --git a/maven-plugin-testing-harness/pom.xml 
b/maven-plugin-testing-harness/pom.xml
index a424c43..20f9f56 100644
--- a/maven-plugin-testing-harness/pom.xml
+++ b/maven-plugin-testing-harness/pom.xml
@@ -31,8 +31,8 @@ under the License.
   <description>The Maven Plugin Testing Harness provides mechanisms to manage 
tests on Mojo.</description>
 
   <properties>
-    <mavenVersion>3.10.0</mavenVersion>
-    <resloverVersion>2.0.24</resloverVersion>
+    <mavenVersion>3.9.16</mavenVersion>
+    <resloverVersion>1.9.27</resloverVersion>
   </properties>
 
   <dependencies>
@@ -108,7 +108,7 @@ under the License.
     </dependency>
     <dependency>
       <groupId>org.apache.maven.resolver</groupId>
-      <artifactId>maven-resolver-transport-apache</artifactId>
+      <artifactId>maven-resolver-transport-http</artifactId>
       <version>${resloverVersion}</version>
       <scope>test</scope>
     </dependency>

Reply via email to