[ https://jira.codehaus.org/browse/MRELEASE-748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=294127#comment-294127 ]
Jakub Skoczen commented on MRELEASE-748: ---------------------------------------- No sane XML parser will ever touch your trailing/leading whitespaces. Yes, you can call 'normalize' on a DOM document but that will only get rid of spurious text nodes -- entirely different story. Having said that, I have no idea whether Maven uses a sane XML parser. > trailing whitespace is stripped from scmCommentPrefix > ----------------------------------------------------- > > Key: MRELEASE-748 > URL: https://jira.codehaus.org/browse/MRELEASE-748 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: prepare > Affects Versions: 2.2.2 > Environment: Any > Reporter: Jakub Skoczen > Assignee: Robert Scholte > Priority: Minor > > When configuring custom scmCommentPrefix any trailing whitespaces are trimmed > resulting in ugly commit mesages, eg: > <scmCommentPrefix>Maven: </scmCommentPrefix> > Maven:prepare for next development iteration > sCP should honor whitespaces -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira