Skip to content

build: skip deploy when the jakartaee11 profile is active - #2192

Merged
lukaszlenart merged 1 commit into
mainfrom
build/jakartaee11-no-deploy
Dec 2, 2026
Merged

lukaszlenart merged 1 commit into
mainfrom
build/jakartaee11-no-deploy

Conversation

@lukaszlenart

Copy link
Copy Markdown
Member

The jakartaee11 profile only overrides jakarta-ee.version, spring.version and tomcat-embed.version. Its artifacts have the same coordinates as the default Jakarta EE 10 build. Today nothing deploys with this profile: GitHub Actions only runs verify, the Jenkins Deploy Snapshot stage and release:perform both run without it. Still, running deploy -Pjakartaee11 by mistake would replace the published artifacts in Nexus and then in Central.

This adds maven.deploy.skip=true to the profile, so deploying with the profile does nothing.

🤖 Generated with Claude Code

The profile only overrides dependency versions, so its artifacts carry
the same coordinates as the default build. Deploying with it would
replace the Jakarta EE 10 artifacts in Nexus and Central.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukaszlenart
lukaszlenart marked this pull request as ready for review December 2, 2026 09:28
@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

@lukaszlenart
lukaszlenart merged commit dfc328d into main Dec 2, 2026
9 checks passed
@lukaszlenart
lukaszlenart deleted the build/jakartaee11-no-deploy branch December 2, 2026 09:44
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.

1 participant