chore: Fix POM flattening - #16
Merged
Merged
Conversation
There was a problem hiding this comment.
Two substantive issues were found: a malformed XML tag in cds-feature-ord/pom.xml (a stray > that will break all Maven invocations on this module), and a logic error in the release workflow where -f cds-feature-ord/pom.xml replaces the root POM, causing the deploy-release profile — and with it GPG signing and Maven Central publishing — to never be applied during deployment.
PR Bot Information
Version: 1.29.9
- File Content Strategy: Full file content
- LLM:
anthropic--claude-4.6-sonnet - Correlation ID:
cb6ebee0-8c24-11f1-9a0d-402973121e2b - Event Trigger:
pull_request.opened - Experiment Variant:
control
mlakov
force-pushed
the
chore/fix-pom-flattening
branch
2 times, most recently
from
July 30, 2026 14:50
183c8cd to
cf4caf0
Compare
mlakov
force-pushed
the
chore/fix-pom-flattening
branch
from
July 30, 2026 14:51
cf4caf0 to
7c5bf58
Compare
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.
Fix POM Flattening for Maven Release
🔧 Chore: Corrects the POM flattening configuration to ensure proper artifact deployment to Maven Central.
Changes
pom.xml: Moved the<scm>block from the root POM to the child module POM, and upgradedflatten-maven-pluginfrom version1.7.3to1.8.0.cds-feature-ord/pom.xml: Added the<scm>block (moved from root POM) and introduced an explicitflatten-maven-pluginexecution configured withossrhflatten mode, ensuring the published POM is properly resolved for OSSRH/Maven Central deployment..github/workflows/release.yml: Addedmaven-extra-args: '-f cds-feature-ord/pom.xml'to the Deploy step, targeting the child module POM directly during release, and removed a duplicatemaven-versionentry.PR Bot Information
Version:
1.29.9anthropic--claude-4.6-sonnetcb6ebee0-8c24-11f1-9a0d-402973121e2bpull_request.opened