diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 97f8073a7..27265c7bd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,7 +36,11 @@ jobs:
with:
version: ${{ matrix.jdk }}
impl: ${{ matrix.impl }}
- - name: Run Tests
+ - name: Run Tests with JDK 8
+ if: ${{ matrix.jdk == '8' }}
+ run: mvn -ntp -U -B -fae clean install test -pl javax,. --also-make
+ - name: Run Tests with JDK 11 or above
+ if: ${{ matrix.jdk != '8' }}
run: mvn -ntp -U -B -fae clean install test
- uses: actions/upload-artifact@v2
if: failure()
diff --git a/jakarta/pom.xml b/jakarta/pom.xml
index 3426c74f6..e1e3ececf 100644
--- a/jakarta/pom.xml
+++ b/jakarta/pom.xml
@@ -35,6 +35,10 @@
jar
+ 11
+ 11
+ 11
+
${project.basedir}/../javax