[BUILD] add OpenJ9 to build matrix (#152)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 294504a..7fcb50b 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -26,6 +26,11 @@
       matrix:
         os: [ ubuntu-latest, windows-latest, macOS-latest ]
         java: [ 8, 11, 17 ]
+        dist: [ 'temurin', 'adopt-openj9' ]
+        exclude:
+        - os: macos-latest
+          dist: 'adopt-openj9'
+
       fail-fast: false
 
     runs-on: ${{ matrix.os }}
@@ -39,14 +44,14 @@
         if: ${{ matrix.java == '8' }}
         uses: actions/setup-java@v3
         with:
-          distribution: 'temurin'
+          distribution: ${{ matrix.dist }}
           java-version: 11
           cache: 'maven'
 
       - name: Set up JDK
         uses: actions/setup-java@v3
         with:
-          distribution: 'temurin'
+          distribution: ${{ matrix.dist }}
           java-version: ${{ matrix.java }}
           cache: 'maven'