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

cstamas pushed a commit to branch new-maven
in repository 
https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git

commit 4669f9c656768fa0492887d40bf4ba16e79df03e
Author: Tamas Cservenak <[email protected]>
AuthorDate: Sat Jul 18 19:56:44 2026 +0200

    Reverse Maven versions
    
    Build against stable, but test with 3.10 and 4 too.
    
    3.9 and 3.10 can run on Java 8, but 4 cannot.
---
 ...{maven-verify-3.9.x.yml => maven-verify-3.10.x.yml} |  5 ++---
 .../{maven-verify-3.9.x.yml => maven-verify-4.0.x.yml} |  4 ++--
 .github/workflows/maven-verify.yml                     |  3 +--
 pom.xml                                                | 18 +++++++++++++-----
 4 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/maven-verify-3.9.x.yml 
b/.github/workflows/maven-verify-3.10.x.yml
similarity index 94%
copy from .github/workflows/maven-verify-3.9.x.yml
copy to .github/workflows/maven-verify-3.10.x.yml
index 9ba44b9..73b839b 100644
--- a/.github/workflows/maven-verify-3.9.x.yml
+++ b/.github/workflows/maven-verify-3.10.x.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: Verify 3.9.x
+name: Verify 3.10.x
 
 on:
   push:
@@ -26,9 +26,8 @@ jobs:
     name: Verify
     uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5
     with:
-      maven-args: '-D"maven.test.redirectTestOutputToFile=false -Pmaven3"'
+      maven-args: '-D"maven.test.redirectTestOutputToFile=false -Pmaven3.10"'
       maven4-enabled: false
-      matrix-exclude: '[ {"jdk": "8"} ]'
       ff-goal: '-P run-its verify javadoc:jar'
       verify-goal: '-P run-its verify javadoc:jar'
 
diff --git a/.github/workflows/maven-verify-3.9.x.yml 
b/.github/workflows/maven-verify-4.0.x.yml
similarity index 97%
rename from .github/workflows/maven-verify-3.9.x.yml
rename to .github/workflows/maven-verify-4.0.x.yml
index 9ba44b9..f6483ad 100644
--- a/.github/workflows/maven-verify-3.9.x.yml
+++ b/.github/workflows/maven-verify-4.0.x.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: Verify 3.9.x
+name: Verify 4.0.x
 
 on:
   push:
@@ -26,7 +26,7 @@ jobs:
     name: Verify
     uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5
     with:
-      maven-args: '-D"maven.test.redirectTestOutputToFile=false -Pmaven3"'
+      maven-args: '-D"maven.test.redirectTestOutputToFile=false -Pmaven4.0"'
       maven4-enabled: false
       matrix-exclude: '[ {"jdk": "8"} ]'
       ff-goal: '-P run-its verify javadoc:jar'
diff --git a/.github/workflows/maven-verify.yml 
b/.github/workflows/maven-verify.yml
index 0e4cd1d..65b3ac4 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: Verify 4.x
+name: Verify 3.9.x
 
 on:
   push:
@@ -28,6 +28,5 @@ jobs:
     with:
       maven-args: '-D"maven.test.redirectTestOutputToFile=false"'
       maven4-enabled: true
-      matrix-exclude: '[ {"jdk": "8"} ]'
       ff-goal: '-P run-its verify javadoc:jar'
       verify-goal: '-P run-its verify javadoc:jar'
diff --git a/pom.xml b/pom.xml
index fb5c4d7..5861228 100644
--- a/pom.xml
+++ b/pom.xml
@@ -65,8 +65,8 @@ under the License.
     <minimalJavaBuildVersion>11</minimalJavaBuildVersion>
     <classWorldsVersion>2.6.0</classWorldsVersion>
 
-    <!-- default maven version, will be overridden by maven3 profile -->
-    <mavenVersion>4.0.0-alpha-8</mavenVersion>
+    <!-- default maven version, will be overridden by mavenX profile -->
+    <mavenVersion>3.9.16</mavenVersion>
     <maven.dir>maven4</maven.dir>
     <maven.basedir>${project.build.directory}/${maven.dir}</maven.basedir>
 
@@ -571,10 +571,18 @@ under the License.
       </build>
     </profile>
     <profile>
-      <id>maven3</id>
+      <id>maven3.10</id>
       <properties>
-        <mavenVersion>3.9.16</mavenVersion>
-        <maven.dir>maven3</maven.dir>
+        <mavenVersion>3.10.0-rc-1</mavenVersion>
+        <maven.dir>maven3.10</maven.dir>
+        <maven.basedir>${project.build.directory}/${maven.dir}</maven.basedir>
+      </properties>
+    </profile>
+    <profile>
+      <id>maven4.0</id>
+      <properties>
+        <mavenVersion>4.0.0-rc-5</mavenVersion>
+        <maven.dir>maven4.0</maven.dir>
         <maven.basedir>${project.build.directory}/${maven.dir}</maven.basedir>
       </properties>
     </profile>

Reply via email to