build: introduce maven wrapper
Some checks failed
continuous-integration/drone/push Build is passing
CI / build (11, 1.11.12) (push) Successful in 41s
CI / build (11, 1.18.0) (push) Successful in 39s
CI / build (11, 1.2.0) (push) Successful in 38s
CI / build (17, 1.11.12) (push) Successful in 39s
CI / build (17, 1.18.0) (push) Successful in 39s
CI / build (17, 1.2.0) (push) Successful in 38s
CI / build (21, 1.11.12) (push) Successful in 38s
CI / build (21, 1.2.0) (push) Successful in 38s
CI / build (true, 21, 1.18.0) (push) Failing after 37s

This commit is contained in:
2024-12-07 10:54:24 +01:00
parent 26cfceb581
commit 4fcfa6938e
6 changed files with 548 additions and 7 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_name == 'main' || github.base_ref == 'main' || startsWith(github.ref_name, 'release/')
run: |
@ -37,14 +37,14 @@ jobs:
if: github.ref_name == 'main'|| github.base_ref == 'main' || startsWith(github.ref_name, '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_name != 'main' && github.base_ref != 'main' && !startsWith(github.ref_name, 'release/')
run: mvn -B -P coverage verify
run: ./mvnw -B -P coverage verify
- name: Analysis
if: matrix.analysis
run: >
mvn -B sonar:sonar
./mvnw -B sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=stklcode-github
env: