Skip to content

Generate the flattened feign-bom POM under target - #3531

Merged
velo merged 1 commit into
masterfrom
fix/flatten-pom-in-target
Aug 20, 2026
Merged

Generate the flattened feign-bom POM under target#3531
velo merged 1 commit into
masterfrom
fix/flatten-pom-in-target

Conversation

@velo

@velo velo commented Aug 20, 2026

Copy link
Copy Markdown
Member

flatten-maven-plugin writes .flattened-pom.xml into the module directory by default, so feign-bom/.flattened-pom.xml showed up as an untracked file after every build and had to be gitignored (3f0a1f4-era change).

Point the plugin at ${project.build.directory} instead: the generated POM is build output, it lands in target/, mvn clean disposes of it, and the source tree stays clean. The .gitignore entry is no longer needed.

Verified: mvn -pl feign-bom install installs feign-bom/target/.flattened-pom.xml as the artifact POM, still flattened (no <parent>, 44 managed dependencies, no inherited dependencyManagement imports), and the module directory stays empty.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HKEB9VnpAxLPnSsJtxwoiD

@velo
velo merged commit 4ec2608 into master Aug 20, 2026
4 checks passed
@velo
velo deleted the fix/flatten-pom-in-target branch August 20, 2026 15:31
@velo velo mentioned this pull request Aug 20, 2026
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