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

robbie pushed a commit to branch development
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-examples.git


The following commit(s) were added to refs/heads/development by this push:
     new b0f9c46d ARTEMIS-5711: compile and run examples on JDK25 as well
b0f9c46d is described below

commit b0f9c46d8b8054b92445c7b41530d93b51f230aa
Author: Robbie Gemmell <[email protected]>
AuthorDate: Mon Nov 3 10:40:00 2025 +0000

    ARTEMIS-5711: compile and run examples on JDK25 as well
---
 .github/workflows/build.yml | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2ef1d872..fb8f7ff6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -29,7 +29,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 17 ]
+        java: [ 17, 25 ]
 
     steps:
       - uses: actions/checkout@v4
@@ -108,7 +108,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        java: [ 17 ]
+        java: [ 17, 25 ]
 
     steps:
       - uses: actions/checkout@v4
@@ -170,11 +170,18 @@ jobs:
           ./scripts/update-examples-version.sh ${{ 
steps.identify-artemis-version.outputs.artemis-build-version }}
           git diff -U0 -p --stat
 
-      - name: Build Examples
+      - name: Build Examples (JDK 25 / -Prelease)
+        if: matrix.java == '25'
         run: |
           cd activemq-artemis-examples
           mvn -s .github/maven-settings.xml package -Prelease
 
+      - name: Build Examples (JDK <25 / -Pexamples,noRun)
+        if: matrix.java != '25'
+        run: |
+          cd activemq-artemis-examples
+          mvn -s .github/maven-settings.xml package -Pexamples,noRun
+
       - name: Clean Up Before Caching
         run: |
           rm -rf ~/.m2/repository/org/apache/activemq/tests


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to