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

rzo1 pushed a commit to branch STORM-4133-Raise-Minimum-JRE-Level-to-17
in repository https://gitbox.apache.org/repos/asf/storm.git

commit f853e92b86834369e35f9fd1e31859997e13dc56
Author: Richard Zowalla <[email protected]>
AuthorDate: Mon Dec 16 15:40:29 2024 +0100

    STORM-4133 - Raise Minimum JRE Level to 17
    Update build tools
---
 .github/workflows/maven.yaml     | 8 ++------
 .github/workflows/nightlies.yaml | 8 ++------
 .github/workflows/snapshots.yaml | 8 ++------
 pom.xml                          | 2 +-
 4 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index e66f3265f..db1726621 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -43,11 +43,11 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v5
         with:
-          python-version: '3.10'
+          python-version: '3.12'
       - name: Set up Node
         uses: actions/setup-node@v4
         with:
-          node-version: 16
+          node-version: 20
       - name: Set up Ruby
         uses: ruby/setup-ruby@v1
         with:
@@ -57,10 +57,6 @@ jobs:
         with:
           distribution: temurin
           java-version: ${{ matrix.java }}
-      - name: Set up Maven #We need to avoid default-http-blocker at the 
moment until we fix it ;-)
-        uses: stCarolas/setup-maven@v5
-        with:
-          maven-version: 3.6.3
       - name: Ensure a clean state without storm artifacts
         run: rm -rf ~/.m2/repository/org/apache/storm
       - name: Set up project dependencies
diff --git a/.github/workflows/nightlies.yaml b/.github/workflows/nightlies.yaml
index 6eba8e956..939990fad 100644
--- a/.github/workflows/nightlies.yaml
+++ b/.github/workflows/nightlies.yaml
@@ -39,7 +39,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v5
         with:
-          python-version: '3.10'
+          python-version: '3.12'
       - name: Set up Node
         uses: actions/setup-node@v4
         with:
@@ -52,11 +52,7 @@ jobs:
         uses: actions/setup-java@v4
         with:
           distribution: temurin
-          java-version: 17
-      - name: Set up Maven # We need to avoid default-http-blocker at the 
moment until we fix it ;-)
-        uses: stCarolas/setup-maven@v5
-        with:
-          maven-version: 3.6.3
+          java-version: 20
       - name: Ensure a clean state without storm artifacts
         run: rm -rf ~/.m2/repository/org/apache/storm
       - name: Set up project dependencies
diff --git a/.github/workflows/snapshots.yaml b/.github/workflows/snapshots.yaml
index 3a5ae6eb9..23ac9a41f 100644
--- a/.github/workflows/snapshots.yaml
+++ b/.github/workflows/snapshots.yaml
@@ -39,7 +39,7 @@ jobs:
       - name: Set up Python
         uses: actions/setup-python@v5
         with:
-          python-version: '3.10'
+          python-version: '3.12'
       - name: Set up Node
         uses: actions/setup-node@v4
         with:
@@ -52,11 +52,7 @@ jobs:
         uses: actions/setup-java@v4
         with:
           distribution: temurin
-          java-version: 17
-      - name: Set up Maven # We need to avoid default-http-blocker at the 
moment until we fix it ;-)
-        uses: stCarolas/setup-maven@v5
-        with:
-          maven-version: 3.6.3
+          java-version: 20
       - id: extract_version
         name: Extract project version
         shell: bash
diff --git a/pom.xml b/pom.xml
index 433009c0b..38868cdfa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,7 +68,7 @@
     </issueManagement>
 
     <properties>
-        <maven.compiler.target>11</maven.compiler.target>
+        <maven.compiler.target>17</maven.compiler.target>
         <maven.compiler.source>${maven.compiler.target}</maven.compiler.source>
         <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
         <maven.javadoc.failOnWarnings>false</maven.javadoc.failOnWarnings>

Reply via email to