From 49ae18cf2f1fa8dd3c4f5740b6903feb54566520 Mon Sep 17 00:00:00 2001 From: Ricardo Zanini Date: Tue, 27 May 2025 14:19:51 -0400 Subject: [PATCH] [5.x] - Upgrade to Java 17 Signed-off-by: Ricardo Zanini --- .github/CODEOWNERS | 2 +- .github/OWNERS | 6 ++---- .github/dependabot.yml | 2 +- .github/workflows/maven-verify.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- README.md | 28 ++++++++++++++-------------- pom.xml | 2 +- 7 files changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9192a7cd..b8e47116 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @tsurdilo @manick02 @ricardozanini \ No newline at end of file +* @fjtirado @ricardozanini \ No newline at end of file diff --git a/.github/OWNERS b/.github/OWNERS index 04e2113e..0db9cb96 100644 --- a/.github/OWNERS +++ b/.github/OWNERS @@ -1,10 +1,8 @@ reviewers: - - tsurdilo - - manick02 - ricardozanini + - fjtirado approvers: - - tsurdilo - - manick02 - ricardozanini + - fjtirado labels: - sig/contributor-experience \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 06541a8b..cceba24a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,4 +11,4 @@ updates: interval: "weekly" assignees: - ricardozanini - - tsurdilo + - fjtirado diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml index aaca3d0d..4311cd74 100644 --- a/.github/workflows/maven-verify.yml +++ b/.github/workflows/maven-verify.yml @@ -16,11 +16,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 cache: 'maven' - name: Verify with Maven diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df7b0bc5..2e4ec8ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,11 +29,11 @@ jobs: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.GPG_PASSPHRASE }} - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: temurin - java-version: 11 + java-version: 17 cache: 'maven' server-id: ossrh server-username: MAVEN_USERNAME diff --git a/README.md b/README.md index 8a344f4a..b1ecec85 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ to parse and validate workflow definitions as well as generate the workflow diag | Latest Releases | Conformance to spec version | | :---: | :---: | -| [5.0.0.Final](https://github.com/serverlessworkflow/sdk-java/releases/tag/5.0.0.Final) | [v0.8](https://github.com/serverlessworkflow/specification/tree/0.8.x) | +| [5.1.0.Final](https://github.com/serverlessworkflow/sdk-java/releases/tag/5.1.0.Final) | [v0.8](https://github.com/serverlessworkflow/specification/tree/0.8.x) | | [4.0.5.Final](https://github.com/serverlessworkflow/sdk-java/releases/tag/4.0.5.Final) | [v0.8](https://github.com/serverlessworkflow/specification/tree/0.8.x) | | [3.0.0.Final](https://github.com/serverlessworkflow/sdk-java/releases/tag/3.0.0.Final) | [v0.7](https://github.com/serverlessworkflow/specification/tree/0.7.x) | | [2.0.0.Final](https://github.com/serverlessworkflow/sdk-java/releases/tag/2.0.0.Final) | [v0.6](https://github.com/serverlessworkflow/specification/tree/0.6.x) | @@ -29,9 +29,9 @@ to parse and validate workflow definitions as well as generate the workflow diag ### JDK Version | SDK Version | JDK Version | -| :---: | :---: | -| 5.0.0 and after | 11 | -| 4.0.x and before | 8 | +| :---: |:-----------:| +| 5.0.0 and after | 17 | +| 4.0.x and before | 8 | ### Getting Started @@ -75,31 +75,31 @@ b) Add the following dependencies to your pom.xml `dependencies` section: io.serverlessworkflow serverlessworkflow-api - 5.1.0-SNAPSHOT + 5.1.0.Final io.serverlessworkflow serverlessworkflow-spi - 5.1.0-SNAPSHOT + 5.1.0.Final io.serverlessworkflow serverlessworkflow-validation - 5.1.0-SNAPSHOT + 5.1.0.Final io.serverlessworkflow serverlessworkflow-diagram - 5.1.0-SNAPSHOT + 5.1.0.Final io.serverlessworkflow serverlessworkflow-util - 5.1.0-SNAPSHOT + 5.1.0.Final ``` @@ -114,11 +114,11 @@ maven { url "https://oss.sonatype.org/content/repositories/snapshots" } b) Add the following dependencies to your build.gradle `dependencies` section: ```text -implementation("io.serverlessworkflow:serverlessworkflow-api:5.1.0-SNAPSHOT") -implementation("io.serverlessworkflow:serverlessworkflow-spi:5.1.0-SNAPSHOT") -implementation("io.serverlessworkflow:serverlessworkflow-validation:5.1.0-SNAPSHOT") -implementation("io.serverlessworkflow:serverlessworkflow-diagram:5.1.0-SNAPSHOT") -implementation("io.serverlessworkflow:serverlessworkflow-util:5.1.0-SNAPSHOT") +implementation("io.serverlessworkflow:serverlessworkflow-api:5.1.0.Final") +implementation("io.serverlessworkflow:serverlessworkflow-spi:5.1.0.Final") +implementation("io.serverlessworkflow:serverlessworkflow-validation:5.1.0.Final") +implementation("io.serverlessworkflow:serverlessworkflow-diagram:5.1.0.Final") +implementation("io.serverlessworkflow:serverlessworkflow-util:5.1.0.Final") ``` ### How to Use diff --git a/pom.xml b/pom.xml index 1f5f8ab3..71d68d8d 100644 --- a/pom.xml +++ b/pom.xml @@ -45,7 +45,7 @@ - 11 + 17 ${java.version} ${java.version} ${java.version}