[ https://jira.codehaus.org/browse/MRELEASE-748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=294123#comment-294123 ]
Dennis Lundberg commented on MRELEASE-748: ------------------------------------------ Without looking at the code I think that this is not possible due to the XML parser. Whitespace inside elements are usually disposed of by the parser. Another way to solve this would be to insert an explicit space between the comment prefix and the actual commit message. > 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 > 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