Commit b5e17da
fix(release): re-format pom.xml after release:prepare to prevent downstream CI failures
maven-release-plugin rewrites pom.xml files via MavenXpp3Writer which produces
formatting incompatible with xml-format-maven-plugin (e.g. <foo/> becomes <foo />).
The xml-check was already skipped during release:prepare to avoid blocking the release,
but the corrupted formatting was committed to the SNAPSHOT branch, causing CI failures
on any PR opened against the branch after a release.
Fix: run xml-format:xml-format immediately after release:prepare and amend the
SNAPSHOT commit, so the base branch always has correctly formatted pom.xml files.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent baded18 commit b5e17da
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
228 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
| |||
0 commit comments