From 6b127b3cc381bba84a9ccd95070a306e36f3496c Mon Sep 17 00:00:00 2001 From: Julien Ponge Date: Fri, 24 Jan 2025 10:30:08 +0100 Subject: [PATCH] fix(ci): broken Maven invocations with a settings.xml file --- .github/scripts/render-documentation.sh | 2 +- .github/workflows/website.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/render-documentation.sh b/.github/scripts/render-documentation.sh index d32c762..17755b2 100755 --- a/.github/scripts/render-documentation.sh +++ b/.github/scripts/render-documentation.sh @@ -2,7 +2,7 @@ set -euo pipefail IFS=$'\n\t' -./mvnw package javadoc:aggregate -DskipTests +./mvnw -s .github/maven-ci-settings.xml -B package javadoc:aggregate -DskipTests cp -R target/reports/apidocs docs/ PROJECT_VERSION=$(cat .github/project.yml | yq eval '.release.current-version' -) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index d9eff64..af2f52d 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -31,6 +31,6 @@ jobs: git config --global user.name "SmallRye CI" git config --global user.email "smallrye@googlegroups.com" - name: Build local artifacts - run: mvn -s .build/maven-ci-settings.xml -B install -DskipTests + run: mvn -s .github/maven-ci-settings.xml -B install -DskipTests - name: Render docs and publish run: .github/scripts/render-documentation.sh \ No newline at end of file