This is an automated email from the ASF dual-hosted git repository. cstamas pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
The following commit(s) were added to refs/heads/master by this push: new cb2c7322 Build Site and fix 1288 (#1289) cb2c7322 is described below commit cb2c732201b5170d7c99fcb921abda76d205c264 Author: Gerd Aschemann <git...@aschemann.net> AuthorDate: Tue Apr 8 10:44:14 2025 +0200 Build Site and fix 1288 (#1289) Besides a fix for #1288 the change also contains * a respective CI build (`mvn ... site`) to detect such problems early in the future * a simplification for GH CI triggers (build on each push, not only master and PRs) The latter leads to CI builds for each development change (which is a major purpose of an automatic build and helps in particular for forks/new contributors who cannot issue a automatic build by creating a PR). Having said that, the respective commit could be dropped if there is a good reason not to follow this practice. Fixes #1288 --- .github/workflows/early-access.yaml | 29 ++++++++++++++++++++++++++--- pom.xml | 2 ++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/.github/workflows/early-access.yaml b/.github/workflows/early-access.yaml index 0a256a87..828a09ee 100644 --- a/.github/workflows/early-access.yaml +++ b/.github/workflows/early-access.yaml @@ -20,9 +20,6 @@ name: Early Access # trigger on push to branches and PR on: push: - branches: - - master - - mvnd-1.x pull_request: env: @@ -187,3 +184,29 @@ jobs: with: name: mvnd-${{ env.OS }}-${{ env.ARCH }} path: dist/target/maven-mvnd-*.zip + + site-build: + name: 'Site build' + if: startsWith(github.event.head_commit.message, '[release] Release ') != true + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v4 + + - uses: actions/setup-java@v4 + with: + java-version: ${{ env.JAVA_VERSION }} + distribution: 'temurin' + + - name: 'Set up Maven' + shell: bash + run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=4.0.0-rc-3" + + - name: 'Run site build' + run: ./mvnw compile site -Dmrm=false -V -B -ntp -e -s .mvn/release-settings.xml + + - name: 'Upload artifact' + uses: actions/upload-artifact@v4 + with: + name: mvnd-site + path: target/site diff --git a/pom.xml b/pom.xml index 03c1dba3..fe0f35e3 100644 --- a/pom.xml +++ b/pom.xml @@ -95,6 +95,8 @@ <version.plexus-xml>4.0.4</version.plexus-xml> <jakarta.inject.version>2.0.1</jakarta.inject.version> + <version.maven-fluido-skin>2.1.0</version.maven-fluido-skin> + <!-- plugin versions a..z --> <buildnumber-maven-plugin.version>3.2.1</buildnumber-maven-plugin.version> <groovy-maven-plugin.version>4.1.1</groovy-maven-plugin.version>