Sebastian T created MRELEASE-1142: ------------------------------------- Summary: Release plugin corrupts pom.xml content Key: MRELEASE-1142 URL: https://issues.apache.org/jira/browse/MRELEASE-1142 Project: Maven Release Plugin Issue Type: Bug Components: perform, prepare Affects Versions: 3.0.1 Environment: Maven 3.9.6 Reporter: Sebastian T
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: # prepare release: [https://github.com/sebthom/jstuff/commit/f6155d2c0947bae7a9547cef4de3cfd31b7b29ff#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8] # 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: # prepare release: [https://github.com/vegardit/vegardit-maven-parent/commit/8819c97f0597561a4a77f52b0a9e270566dbd4bc#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L255-L258] # prepare for next development iteration: [https://github.com/vegardit/vegardit-maven-parent/commit/cf93747410459613fddc26e9fc1c7a6ad1df2b8a#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L255-L257] -- This message was sent by Atlassian Jira (v8.20.10#820010)