[refactor] Modernize Maven 3 build pipeline and release automation#6429
Merged
Conversation
Switch all 59 POMs to ${revision} with flatten-maven-plugin resolving
it in deployed artifacts. Replace activeByDefault on installer/stress/
benchmarks with explicit umbrella profiles: local-build (default),
release-build (installer + Central Portal publishing via
central-publishing-maven-plugin), perf-tests (stress + benchmarks).
Add release-preflight enforcer and GPG signing to release-build.
Migrate macOS notarization from deprecated altool to notarytool+staple;
fix CI activation guard on mac-dmg-on-mac.
close eXist-db#3394
close eXist-db#4519
see eXist-db#6176
Replaces mvn release:prepare/perform with two GitHub Actions workflows: ci-release-prepare (workflow_dispatch) updates CITATION.cff, commits, and pushes an annotated eXist-X.Y.Z tag; ci-release (tag-triggered) runs parallel platform jobs for Maven Central deploy, signed+notarized macOS DMG, and Authenticode-signed Windows installer, converging on a GitHub Release. Updates exist-versioning-release.md to document the new procedure. Closes eXist-db#5597 eXist-db#4217
- least-privilege permissions, - remove token from CLI args, - SHA-pin third-party actions
CiFriendliesOnly
to latest 3.9 in prep for maven 4
line-o
reviewed
Jun 1, 2026
line-o
approved these changes
Jun 1, 2026
windauer
approved these changes
Jun 1, 2026
reinhapa
approved these changes
Jun 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the lessons from the deferred Maven 4 experiment (#6276) into a
production-ready Maven 3 pipeline. Replaces
maven-release-pluginwith atwo-workflow GitHub Actions pattern, simplifies the profile graph, modernizes
macOS notarization (notarytool + API key auth), and adds Windows Authenticode
signing via Azure Key Vault. Maven Central publishing migrated from legacy
OSSRH to the new Central Portal (
central-publishing-maven-plugin).What changed
POM modernization
${revision}(CI-friendly versions).<revision>7.0.0-SNAPSHOT>set as default inexist-parent.flatten-maven-plugin 1.7.3added —flattenMode=resolveCiFriendliesOnly— so deployed POMs resolve${revision}to a literal version.flatten.cleanexecution bound tocleanphase somvn packageis idempotent.Profile simplification
activeByDefaultfrominstaller/concurrency-stress-tests/micro-benchmarks— they no longer leak into contributor builds.local-build(default),release-build(adds installer + GPG signing + Central publishing),perf-tests(stress + benchmarks).installer,concurrency-stress-tests, `micro-benumbrella restructure.Release pipeline (CI)
ci-release-prepare.yml(workflow_dispatch): updatesCITATION.cff, commits, creates annotatedeXist-X.Y.Ztag, pushes viaRELEASE_PAT.ci-release.yml(tag-triggered): parallelbuild-linux(Maven Cbuild-mac(signed + notarized DMG),build-windows(signed installerJAR + Authenticode.exe), converging onpublish-github-release`.release-preflightenforcer profile validates required secrets beformacOS signing
altool --notarize-apptonotarytool submitaplewith App Store Connect API Key auth (no Apple ID, no 2FA).mac-dmg-on-macactivation frommac-signing— contributors get an unsigned DMG automatically on macOS without extra flags.mac.codesign.identity.Windows signing
azure/login@v2(no long-lived secazure-security-keyvault-jca;.exeAuthenticode viaAzureSignTool.Documentation
exist-versioning-release.mdrewritten for the two-workflow patternCloses
mvn packagetwice #6411 — cannotmvn packagetwicemac.codesign.identitycauses contributor buisee #6176