Skip to content

fix(build): maven config for release plugin #222

fix(build): maven config for release plugin

fix(build): maven config for release plugin #222

Workflow file for this run

name: Maven
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ 17, 19 ]
jakarta: [ 9, 10 ]
name: Build w/o tests (Java ${{ matrix.java }}, Jakarta EE ${{ matrix.jakarta }})
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- run: ./mvnw --batch-mode --update-snapshots install -DskipTests -P EE${{ matrix.jakarta }}
unit-test:
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
java: [ 17, 19 ]
jakarta: [ 9, 10 ]
name: Unit tests (Java ${{ matrix.java }}, Jakarta EE ${{ matrix.jakarta }})
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- run: ./mvnw --batch-mode --update-snapshots install -DskipTests -P EE${{ matrix.jakarta }}
- run: ./mvnw --batch-mode test -P EE${{ matrix.jakarta }}
integration-test:
runs-on: ubuntu-latest
needs: build
strategy:
fail-fast: false
matrix:
java: [ 17 ]
container: [ 'WILDFLY_MANAGED', 'WILDFLY_REMOTE', 'PAYARA_MANAGED' ]
jakarta: [ 9, 10 ]
name: Integration tests (Java ${{ matrix.java }}, Jakarta EE ${{ matrix.jakarta }}, Container ${{ matrix.container }})
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- run: ./mvnw -V --batch-mode --update-snapshots install -DskipTests -P EE${{ matrix.jakarta }}
- run: ./mvnw -V --batch-mode -P ${{ matrix.container }},EE${{ matrix.jakarta }} verify