From e632bcceb5b82b2f30f94474be8f122197abbbbf Mon Sep 17 00:00:00 2001 From: Nassim Boutekedjiret Date: Thu, 8 Oct 2026 18:25:55 +0200 Subject: [PATCH] Update metricshub/workflows to v7 and the site to Doxia 2 - .github/workflows: maven-build, maven-central-deploy and maven-central-release reusable workflows from v5 to v7. GitHub runners now ship Maven 3.10, and Central snapshot deploys need workflows v7, which declares the central.sonatype.com origin. - pom.xml: maven-site-plugin 4.0.0-M16 with maven-skin-tools 1.8.01. maven-site-plugin 3.12.1 (from oss-parent) mixes Velocity 1.7 and 2.x and fails with Maven 3.10 (AbstractMethodError on org.apache.velocity.tools.ToolContext). - src/site/site.xml: converted to the SITE 2.0.0 descriptor (UTF-8, sentry-maven-skin 8.0.00, bannerLeft with an image child, numeric character reference for the registered sign), same as jflat. oss-parent is already 5. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/release.yml | 2 +- pom.xml | 14 ++++++++++++++ src/site/site.xml | 19 +++++++++++-------- 5 files changed, 28 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb86daf..2345754 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ on: jobs: build: - uses: metricshub/workflows/.github/workflows/maven-build.yml@v5 + uses: metricshub/workflows/.github/workflows/maven-build.yml@v7 with: jdkVersion: "17" debug: ${{ github.event_name == 'workflow_dispatch' && inputs.debug }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 52307a5..3538b03 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ on: jobs: deploy: - uses: metricshub/workflows/.github/workflows/maven-central-deploy.yml@v5 + uses: metricshub/workflows/.github/workflows/maven-central-deploy.yml@v7 with: jdkVersion: "17" secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47ed758..ee9a68d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ on: jobs: release: - uses: metricshub/workflows/.github/workflows/maven-central-release.yml@v5 + uses: metricshub/workflows/.github/workflows/maven-central-release.yml@v7 with: releaseVersion: ${{ inputs.releaseVersion }} developmentVersion: ${{ inputs.developmentVersion }} diff --git a/pom.xml b/pom.xml index 8c29a9a..3551bd3 100644 --- a/pom.xml +++ b/pom.xml @@ -126,6 +126,20 @@ + + + + maven-site-plugin + 4.0.0-M16 + + + org.sentrysoftware.maven + maven-skin-tools + 1.8.01 + + + + com.hubspot.maven.plugins diff --git a/src/site/site.xml b/src/site/site.xml index 3f61bd5..ba69bb4 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -1,10 +1,14 @@ - - + + org.sentrysoftware.maven sentry-maven-skin - 6.4.01 + 8.0.00 @@ -12,16 +16,15 @@ ssh - - images/metricshub-logo-only.png - https://metricsHub.org + + - + @@ -32,4 +35,4 @@ - \ No newline at end of file +