update actions to use JDK/OS matrix (thanks BJ)

Signed-off-by: Raymond Augé <rotty3000@apache.org>
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index bb6e412..03a8e8e 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -18,116 +18,44 @@
   LC_ALL: en_US.UTF-8
 
 jobs:
-  OpenJDK8_Linux:
-    name: OpenJDK8 Linux
-    runs-on: ubuntu-latest
+  JDKxx_Matrix:
+    strategy:
+      matrix:
+        java: [ 8, 11, 14 ]
+        os: [ ubuntu-latest ]
+        include:
+        - os: windows-latest
+          java: 8
+    name: JDK${{ matrix.java }} ${{ matrix.os }}
+    runs-on: ${{ matrix.os }}
     steps:
     - name: Git Checkout
       uses: actions/checkout@v2
     - name: Set up Java
       uses: actions/setup-java@v1
       with:
-        java-version: 1.8
-    - name: Build OpenJDK8 Linux
-      run: mvn -U -e -B -ntp install
-  OpenJDK11_Linux:
-    name: OpenJDK11 Linux
-    runs-on: ubuntu-latest
-    steps:
-    - name: Git Checkout
-      uses: actions/checkout@v2
-    - name: Set up Java
-      uses: actions/setup-java@v1
-      with:
-        java-version: 11
-    - name: Build OpenJDK11 Linux
-      run: mvn -U -e -B -ntp install
-  OpenJDK13_Linux:
-    name: OpenJDK13 Linux
-    runs-on: ubuntu-latest
-    steps:
-    - name: Git Checkout
-      uses: actions/checkout@v2
-    - name: Set up Java
-      uses: actions/setup-java@v1
-      with:
-        java-version: 13
-    - name: Build OpenJDK13 Linux
-      run: mvn -U -e -B -ntp install
-  OpenJDK8_Windows:
-    name: OpenJDK8 Windows
-    runs-on: windows-latest
-    steps:
-    - name: Git Checkout
-      uses: actions/checkout@v2
-    - name: Set up Java
-      uses: actions/setup-java@v1
-      with:
-        java-version: 1.8
-    - name: Build OpenJDK8 Windows
+        java-version: ${{ matrix.java }}
+    - name: Build
       shell: bash
-      run: mvn -U -e -B -ntp install
-  OpenJDK8_macOS:
-    name: OpenJDK8 macOS
-    runs-on: macos-latest
+      run: |
+        mvn -U -e -B -ntp -X install
+  JDKxx_Matrix-Experimental:
+    strategy:
+      matrix:
+        java: [ 8, 11, 14 ]
+        os: [ ubuntu-latest ]
+        include:
+        - os: windows-latest
+          java: 8
+    name: JDK${{ matrix.java }} ${{ matrix.os }} Experimental
+    runs-on: ${{ matrix.os }}
     steps:
     - name: Git Checkout
       uses: actions/checkout@v2
     - name: Set up Java
       uses: actions/setup-java@v1
       with:
-        java-version: 1.8
-    - name: Build OpenJDK8 macOS
-      shell: bash
-      run: mvn -U -e -B -ntp install
-  OpenJDK8_Linux_Experimental:
-    name: OpenJDK8 Linux Experimental
-    runs-on: ubuntu-latest
-    steps:
-    - name: Git Checkout
-      uses: actions/checkout@v2
-    - name: Set up Java
-      uses: actions/setup-java@v1
-      with:
-        java-version: 1.8
-    - name: Build OpenJDK8 Linux Experimental
-      continue-on-error: true
-      run: mvn -U -e -B -ntp install -Pexperimental
-  OpenJDK11_Linux_Experimental:
-    name: OpenJDK11 Linux Experimental
-    runs-on: ubuntu-latest
-    steps:
-    - name: Git Checkout
-      uses: actions/checkout@v2
-    - name: Set up Java
-      uses: actions/setup-java@v1
-      with:
-        java-version: 11
-    - name: Build OpenJDK11 Linux Experimental
-      continue-on-error: true
-      run: mvn -U -e -B -ntp install -Pexperimental
-  OpenJDK13_Linux_Experimental:
-    name: OpenJDK13 Linux Experimental
-    runs-on: ubuntu-latest
-    steps:
-    - name: Git Checkout
-      uses: actions/checkout@v2
-    - name: Set up Java
-      uses: actions/setup-java@v1
-      with:
-        java-version: 13
-    - name: Build OpenJDK13 Linux Experimental
-      continue-on-error: true
-      run: mvn -U -e -B -ntp install -Pexperimental
-  OpenJDK14_Linux_Experimental:
-    name: OpenJDK14 Linux Experimental
-    runs-on: ubuntu-latest
-    steps:
-    - name: Git Checkout
-      uses: actions/checkout@v2
-    - name: Set up Java
-      uses: actions/setup-java@v1
-      with:
-        java-version: 14
-    - name: Build OpenJDK14 Linux Experimental
-      run: mvn -U -e -B -ntp install -Pexperimental
+        java-version: ${{ matrix.java }}
+    - name: Build
+      run: |
+        mvn -U -e -B -ntp -X install -Pexperimental