Skip to content

Commit

Permalink
EJBCLIENT-422 Require JDK 11 to build (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
chengfang authored Jul 6, 2022
1 parent e84c79f commit e7fdc95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 4 additions & 0 deletions jakarta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
<packaging>jar</packaging>

<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<jdk.min.version>11</jdk.min.version>

<jakarta.transformer.input.dir>${project.basedir}/../javax</jakarta.transformer.input.dir>
</properties>

Expand Down

0 comments on commit e7fdc95

Please sign in to comment.