[ https://issues.apache.org/jira/browse/MRELEASE-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438804#comment-17438804 ]
Julio J. Gomez Diaz commented on MRELEASE-1008: ----------------------------------------------- [~johnlinp]This is not a cosmetic bug at all. It provokes unintended changes in the POM's during the release process. It should be reviewed deeply. Maven release plugin should change POM's only where it needs to manage the release process, not in other places. This issue should *not* be closed until is solved. Maybe somebody comes with an idea or PR to make it work right. > Changed formatting of pom file for multiline attributes during version bump > --------------------------------------------------------------------------- > > Key: MRELEASE-1008 > URL: https://issues.apache.org/jira/browse/MRELEASE-1008 > Project: Maven Release Plugin > Issue Type: Bug > Reporter: Roman Ivanov > Priority: Major > > during release, plugin create commit for version bump. > BUT in addition to this it change formatting of some tags - > https://github.com/checkstyle/checkstyle/commit/29a635421d9292673bbaaf0c0693d2191dfb5f18 > Plugin changes multiline attributes formatting to single-line. > In Checkstyle project we control length of lines in files to ease code review > in web. This allow us to avoid vertical scrolls, ...... . > Such unexpected change triggered build problem right after release and make > it impossible to keep user-defined formatting . > Also reported at: > https://stackoverflow.com/questions/49085502/maven-release-plugin-changes-pom-formatting -- This message was sent by Atlassian Jira (v8.3.4#803005)