From 43f4a912f080124f092e39a76eca80963969304f Mon Sep 17 00:00:00 2001 From: Patrick Hobusch Date: Thu, 28 Sep 2023 18:28:02 +0800 Subject: [PATCH] TEST_MAVEN_CONFIG --- .github/workflows/ci.yaml | 10 +++++----- .mvn/maven.config | 1 + {.github/workflows => .mvn}/settings.xml | 0 3 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .mvn/maven.config rename {.github/workflows => .mvn}/settings.xml (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 54507db..908e977 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -30,10 +30,10 @@ jobs: restore-keys: confapi-plugin - name: Download Dependencies - run: ./mvnw dependency:go-offline -U -B + run: ./mvnw dependency:go-offline -U - name: Build with Maven - run: ./mvnw package -DskipUnitTests -B + run: ./mvnw package -DskipUnitTests unit-tests: needs: package @@ -61,7 +61,7 @@ jobs: restore-keys: confapi-plugin - name: Run Unit Tests and analyze on SonarCloud - run: ./mvnw test sonar:sonar -B + run: ./mvnw test sonar:sonar integration-tests: needs: package @@ -85,7 +85,7 @@ jobs: restore-keys: confapi-plugin - name: Run Integration Tests - run: ./mvnw integration-test -DskipUnitTests -B + run: ./mvnw integration-test -DskipUnitTests deploy: needs: [unit-tests, integration-tests] @@ -126,7 +126,7 @@ jobs: run: gpg --no-tty --batch --import .github/workflows/sign.asc - name: Deploy to Maven Central - run: export GPG_TTY=$(tty) && ./mvnw -s .github/workflows/settings.xml -DskipTests deploy -B + run: export GPG_TTY=$(tty) && ./mvnw -s .github/workflows/settings.xml -DskipTests deploy apcc: needs: package diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 0000000..5a014a4 --- /dev/null +++ b/.mvn/maven.config @@ -0,0 +1 @@ +-B --settings ./.mvn/settings.xml diff --git a/.github/workflows/settings.xml b/.mvn/settings.xml similarity index 100% rename from .github/workflows/settings.xml rename to .mvn/settings.xml