From c57582c7c514c6b827196220697e9238699f06bc Mon Sep 17 00:00:00 2001 From: Justin Bingham Date: Tue, 9 May 2023 21:39:49 -0400 Subject: [PATCH] upgrade to java 17 --- .github/workflows/maven-build.yml | 8 +++++--- .github/workflows/maven-documentation.yml | 8 +++++--- .github/workflows/maven-publish.yml | 8 +++++--- .github/workflows/maven-release.yml | 8 +++++--- pom.xml | 23 ++++++++++++----------- 5 files changed, 32 insertions(+), 23 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index c2ed38c..b679adf 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -10,10 +10,12 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 17 + distribution: 'corretto' + cache: 'maven' server-id: jd-oss-github # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD diff --git a/.github/workflows/maven-documentation.yml b/.github/workflows/maven-documentation.yml index 7481516..692ec63 100644 --- a/.github/workflows/maven-documentation.yml +++ b/.github/workflows/maven-documentation.yml @@ -29,10 +29,12 @@ jobs: - uses: actions/checkout@v2 with: ref: ${{ steps.previoustag.outputs.tag }} - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 17 + distribution: 'corretto' + cache: 'maven' server-id: jd-oss-github # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 207969f..9517e2a 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -12,10 +12,12 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 17 + distribution: 'corretto' + cache: 'maven' server-id: jd-oss-github # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 2f413b8..b589bd1 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -30,10 +30,12 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 17 + distribution: 'corretto' + cache: 'maven' server-id: jd-oss-github # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD diff --git a/pom.xml b/pom.xml index 8bfc30a..a8f0790 100644 --- a/pom.xml +++ b/pom.xml @@ -7,26 +7,27 @@ 0.1.14-SNAPSHOT - 11 - 11 + 17 + ${java.version} + ${java.version} 3.11.0 3.2.2 1.18.26 - 1.7.36 - 4.4.0 + 2.0.7 + 4.8.0 1.3.2 - 5.8.2 - 0.9.10 - 0.9.6 - 0.9.5 - 0.9.3 + 5.9.3 + 0.9.11 + 0.9.9 + 0.9.8 + 0.9.4 0.9.6 0.8.9 3.0.0 3.5.0 2.0 4.5.0 - 3.0.0-M5 + 3.0.0 github UTF-8 UTF-8 @@ -142,7 +143,7 @@ maven-compiler-plugin ${maven-compiler-plugin.version} - 11 + ${java.version} org.projectlombok