This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-access.git
The following commit(s) were added to refs/heads/main by this push:
new 27e7bcb Add compiler release to pom, Add build for JDK 21 (#23)
27e7bcb is described below
commit 27e7bcb0900b46656d8abc6927ba15c6ed33173a
Author: Dave Marion <[email protected]>
AuthorDate: Wed Oct 4 09:22:19 2023 -0400
Add compiler release to pom, Add build for JDK 21 (#23)
---
.github/workflows/maven.yaml | 9 +++++----
pom.xml | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index 0c00f85..cd0496e 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -68,9 +68,10 @@ jobs:
strategy:
matrix:
profile:
- - {name: 'unit-tests', javaver: 11, args: 'verify -PskipQA'}
- - {name: 'qa-checks', javaver: 11, args: 'verify javadoc:jar
-Psec-bugs,errorprone'}
- - {name: 'jdk17', javaver: 17, args: 'verify'}
+ - {name: 'unit-tests', distribution: adopt, javaver: 11, args:
'verify -PskipQA'}
+ - {name: 'qa-checks', distribution: adopt, javaver: 11, args:
'verify javadoc:jar -Psec-bugs,errorprone'}
+ - {name: 'jdk17', distribution: adopt, javaver: 17, args:
'verify'}
+ - {name: 'jdk21', distribution: oracle, javaver: 21, args:
'verify'}
fail-fast: false
runs-on: ubuntu-latest
steps:
@@ -78,7 +79,7 @@ jobs:
- name: Set up JDK ${{ matrix.profile.javaver }}
uses: actions/setup-java@v3
with:
- distribution: adopt
+ distribution: ${{ matrix.profile.distribution }}
java-version: ${{ matrix.profile.javaver }}
- name: Cache local maven repository
uses: actions/cache@v3
diff --git a/pom.xml b/pom.xml
index e0186d2..be24afe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,6 +31,7 @@
<version>1.0.0-SNAPSHOT</version>
<name>Apache Accumulo Access</name>
<properties>
+ <maven.compiler.release>11</maven.compiler.release>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>