Skip to content

fix: move central-publishing-maven-plugin out of release profile#329

Merged
honnix merged 1 commit intomasterfrom
fix/central-plugin-always-active
Mar 31, 2026
Merged

fix: move central-publishing-maven-plugin out of release profile#329
honnix merged 1 commit intomasterfrom
fix/central-plugin-always-active

Conversation

@honnix
Copy link
Copy Markdown
Member

@honnix honnix commented Mar 31, 2026

Summary

  • Move central-publishing-maven-plugin from the release profile to the main <build><plugins> section in both root and flytekit-bom pom.xml
  • The plugin was only active under -Prelease, but snapshot deploys (mvn deploy -Pci) don't activate that profile, so the default maven-deploy-plugin was used instead, which failed with "repository element was not specified in distributionManagement"

Test plan

  • Verify snapshot deploy works on merge to master

🤖 Generated with Claude Code

The plugin was only active under the release profile, but snapshot
deploys use -Pci, so the default maven-deploy-plugin was used instead,
which requires distributionManagement. Moving the plugin to the main
build section ensures it handles both snapshots and releases.

Signed-off-by: Hongxin Liang <honnix@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Hongxin Liang <honnix@users.noreply.github.com>
@honnix honnix merged commit 25c7256 into master Mar 31, 2026
4 checks passed
@honnix honnix deleted the fix/central-plugin-always-active branch March 31, 2026 08:11
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