Skip to content

Apache TomEE 10.x support #297

Apache TomEE 10.x support

Apache TomEE 10.x support #297

Workflow file for this run

name: build
on:
push:
paths-ignore:
- "docs/**"
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
cache: "maven"
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn clean test jacoco:report -Punit-test,coverage
mvn verify jacoco:report-integration -Parq-wildfly-managed,coverage
mvn sonar:sonar \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.token=$SONAR_TOKEN \
-Dsonar.organization=hantsy \
-Dsonar.projectKey=hantsy_jakartaee10-starter-boilerplate \
-Dsonar.coverage.jacoco.xmlReportPaths=target/site/*/jacoco.xml \
-Dsonar.coverage.exclusions=**/dto/*,**/*Configuration.*,**/SampleDataGenerator.*