Skip to content

Bump the maven-dependencies group with 2 updates #734

Bump the maven-dependencies group with 2 updates

Bump the maven-dependencies group with 2 updates #734

Workflow file for this run

name: SmallRye Build
env:
MAVEN_VERSION: 3.8.3
IO_TAKARI_MAVEN_WRAPPER_VERSION: 0.7.7
on:
push:
branches:
- main
- jakarta
paths-ignore:
- '.gitattributes'
- '.gitignore'
- 'LICENSE'
- 'NOTICE'
- 'README*'
pull_request:
paths-ignore:
- '.gitattributes'
- '.gitignore'
- 'LICENSE'
- 'NOTICE'
- 'README*'
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
name: build
steps:
- uses: actions/checkout@v4
name: checkout
- uses: actions/setup-java@v4
name: set up JDKs
with:
distribution: temurin
java-version: |
11
17
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: build with maven
run: |
mvn -q -N "io.takari:maven:${{env.IO_TAKARI_MAVEN_WRAPPER_VERSION}}:wrapper" "-Dmaven=${{env.MAVEN_VERSION}}"
./mvnw -B -ntp formatter:validate verify --file pom.xml "-Djava11.home=${{env.JAVA_HOME_11_X64}}"
quality:
needs: [ build ]
if: github.event_name == 'push' && github.repository_owner == 'smallrye'
runs-on: ubuntu-latest
name: quality
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: sonar
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
run: |
mvn -q -N "io.takari:maven:${{env.IO_TAKARI_MAVEN_WRAPPER_VERSION}}:wrapper" "-Dmaven=${{env.MAVEN_VERSION}}"
./mvnw -B -ntp javadoc:javadoc verify --file pom.xml -Pcoverage sonar:sonar -Dsonar.projectKey=smallrye_smallrye-common -Dsonar.login=$SONAR_TOKEN