PR: MPCHANGES-31
Use setPadText(true) to ensure that text immediately preceded by or followed by an element will be surrounded by a single space. Unfortunately this also adds spaces after tags at a line ending so all our changes.xml files will get reformatted. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@441044 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d5c1cdbd72
commit
bf93c48afc
@ -137,6 +137,7 @@ public class ReleaseVersion
|
||||
format.setIndentSize( 2 );
|
||||
format.setNewlines( true );
|
||||
format.setTrimText( true );
|
||||
format.setPadText( true );
|
||||
if ( encoding == null || "".equals( encoding ) )
|
||||
{
|
||||
String docsEncoding = doc.getXMLEncoding();
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.7-SNAPSHOT" date="In SVN">
|
||||
<action dev="ltheussl" type="fix" issue="MPCHANGES-31"><code>changes:release-version</code> removes spaces after closing tags.</action>
|
||||
<action dev="ltheussl" type="update">It now requires Maven 1.1.</action>
|
||||
<action dev="ltheussl" type="fix" issue="MPCHANGES-32">The encoding of the changes.xml file is not preserved after doing release-version.</action>
|
||||
<action dev="ltheussl" type="add">New property maven.changes.outputencoding.</action>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user