Skip to content

fix(maven): preserve comments in pom.xml#294

Merged
TimothyJones merged 1 commit into
absolute-version:masterfrom
lhokktyn:preserve-pom-comments
Jul 18, 2026
Merged

fix(maven): preserve comments in pom.xml#294
TimothyJones merged 1 commit into
absolute-version:masterfrom
lhokktyn:preserve-pom-comments

Conversation

@lhokktyn

Copy link
Copy Markdown
Contributor

Modifies the XML parser/builder config in the maven updater in order to preserve comments across version bumps in the pom.xml. Comments may be conveying useful information that shouldn't be lost, and in the case of tools like renovate, they can themselves be a form of configuration.

Comments may convey important information that needs
retaining across bumps.
@TimothyJones TimothyJones changed the title refactor(maven): preserve comments in pom.xml fix(maven): preserve comments in pom.xml Jul 18, 2026
@TimothyJones
TimothyJones enabled auto-merge (squash) July 18, 2026 02:13
@TimothyJones
TimothyJones disabled auto-merge July 18, 2026 02:14
@TimothyJones
TimothyJones merged commit cbb6010 into absolute-version:master Jul 18, 2026
@TimothyJones

Copy link
Copy Markdown
Member

Thanks for this! Nice catch

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