Open martinaldrin opened 1 week ago
Hi!
Does the xml:space="preserve"
directive change the behaviour? Otherwise ignoring sections can help (have a look in the wiki).
Btw, I hope that you are ok with using the antrun plugin? The ant build format is very old (2000 -> RIP 2004). I would recommend using echo-maven-plugin for echoing information during the build (yes, I'm biased)
Hi, We uplifted sortpom-maven-plugin 2.13.1 -> 4.0.0 after that we got issues with incorrect format in our generated sources since the new version of sortpom-maven-plugin first replaces X with new lines, and next time it formats it replaces it with single spaces. How can we avoid such formatting behaviour?
<echo file="${propertiesfile}" message="#Created by X
version=${testng.version}
groupId=org.testng
artifactId=testng" />
replaced by:
<echo file="${propertiesfile}" message="#Created by X version=${testng.version} groupId=org.testng artifactId=testng" />