From 413ab85111c702ca5b504deb8daf19bac7b4cbbd Mon Sep 17 00:00:00 2001 From: Bauke Scholtz Date: Thu, 5 Sep 2024 13:31:46 -0400 Subject: [PATCH] Fix workflow to use Java 17 with latest maven compiler plugin (older/inferred versions didn't support maven.compiler.relase property) --- .github/workflows/jakartified.maven.yml | 4 ++-- pom.xml | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jakartified.maven.yml b/.github/workflows/jakartified.maven.yml index 5a8436b..c5ebb48 100644 --- a/.github/workflows/jakartified.maven.yml +++ b/.github/workflows/jakartified.maven.yml @@ -30,10 +30,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '17' distribution: 'adopt' cache: maven - name: Test with Maven diff --git a/pom.xml b/pom.xml index ca3690c..e53b452 100644 --- a/pom.xml +++ b/pom.xml @@ -151,6 +151,13 @@ + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + org.apache.maven.plugins