[MRELEASE-1142] Release plugin corrupts pom.xml content
- Dominant language
- Java
- Stars
- 128
- Forks
- 145
- Avg merge
- 7h 7m
- Merged PRs (30d)
- 3
Description
**[Sebastian T](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=seb)** opened **[MRELEASE-1142](https://issues.apache.org/jira/browse/MRELEASE-1142?redirect=false)** and commented
Since we migrated to the 3.x version of the release plugin, the prepare/perform goals
A) add arbitrary spaces and new lines to the pom:
1. prepare release: https://github.com/sebthom/jstuff/commit/f6155d2c0947bae7a9547cef4de3cfd31b7b29ff#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
2. prepare for next development iteration: https://github.com/sebthom/jstuff/commit/b18b3a4baddbecf8d43ebea1414acd4d822b8d0f#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
B) remove white spaces from CDATA content which should be left untouched:
1. prepare release: https://github.com/vegardit/vegardit-maven-parent/commit/8819c97f0597561a4a77f52b0a9e270566dbd4bc#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L255-L258
2. prepare for next development iteration: https://github.com/vegardit/vegardit-maven-parent/commit/cf93747410459613fddc26e9fc1c7a6ad1df2b8a#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L255-L257
---
**Affects:** 3.0.1
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the linked jstuff and vegardit-maven-parent commits with the original pom.xml content, focusing on changes made by the release plugin's prepare and perform goals. Reproduce the whitespace changes in a minimal project and define done as preserving formatting and CDATA whitespace during both release preparation and the next development iteration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100