Skip to content

CI: pin Maven 3.9.16 for Central deploy - #11

Merged
michaeloffner merged 1 commit into
lucee:mainfrom
GianTschingt:ci/pin-maven-3.9.16
Oct 19, 2026
Merged

michaeloffner merged 1 commit into
lucee:mainfrom
GianTschingt:ci/pin-maven-3.9.16

Conversation

@GianTschingt

Copy link
Copy Markdown
Contributor

The release deploy for 3.0.0.8 would be rejected by Central as it stands.

Cause: on 2026-10-04 the GitHub ubuntu-latest image moved from Maven 3.9.16 to 3.10.0. With 3.10.0, central-publishing-maven-plugin leaves maven-metadata-local.xml in the staging dir, and Central rejects the bundle with Bundle has content that does NOT have a .pom file. That's the same failure we fixed in lucee/extension-image#39 and in Lucee core. 3.0.0.4 (March) and the May snapshot deploys all ran on Maven 3.9.x.

Fix: the deploy job installs Maven 3.9.16 (sha512-verified, from Maven Central) before the extension and agent mvn deploy steps. It's the same step Lucee core uses. Build and test jobs are unchanged.

--settings maven-settings.xml is already passed on both deploy commands, so the credentials problem we found on Lucee 6.2 doesn't apply here.

@GianTschingt GianTschingt mentioned this pull request Oct 19, 2026
@michaeloffner
michaeloffner merged commit 110d4dd into lucee:main Oct 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants