build: introduce maven wrapper
All checks were successful
continuous-integration/drone/push Build is passing
CI / build (11, 1.11.12) (push) Successful in 25s
CI / build (11, 1.17.1) (push) Successful in 25s
CI / build (11, 1.2.0) (push) Successful in 26s
CI / build (17, 1.11.12) (push) Successful in 25s
CI / build (17, 1.17.1) (push) Successful in 24s
CI / build (17, 1.2.0) (push) Successful in 24s
CI / build (21, 1.17.1) (push) Successful in 25s
CI / build (21, 1.2.0) (push) Successful in 24s
CI / build (true, 21, 1.11.12) (push) Successful in 25s

This commit is contained in:
2024-08-03 17:17:18 +02:00
parent 253cb21f68
commit 7e17139be1
5 changed files with 562 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ jobs:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- name: Compile
run: mvn -B clean compile
run: ./mvnw -B clean compile
- name: Set up Vault
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')
run: |
@@ -37,14 +37,14 @@ jobs:
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')
env:
VAULT_VERSION: ${{ matrix.vault }}
run: mvn -B -P coverage -P integration-test verify
run: ./mvnw -B -P coverage -P integration-test verify
- name: Test (Unit)
if: github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/heads/release/')
run: mvn -B -P coverage verify
run: ./mvnw -B -P coverage verify
- name: Analysis
if: ${{ matrix.analysis && env.GITHUB_TOKEN != '' && env.SONAR_TOKEN != '' }}
run: >
mvn -B sonar:sonar
./mvnw -B sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=stklcode-github
env: