sortpom
sortpom copied to clipboard
Newlines aren't kept at beginning or end of String content.
I'm running the enforcer plugin and have this config in my pom.xml.
<unCheckedPluginList>
org.apache.maven.plugins:maven-site-plugin,
org.apache.maven.plugins:maven-deploy-plugin
</unCheckedPluginList>
After formatting with sortpom, this xml becomes:
<unCheckedPluginList>org.apache.maven.plugins:maven-site-plugin,
org.apache.maven.plugins:maven-deploy-plugin</unCheckedPluginList>
I have <keepBlankLines>true</keepBlankLines> so I was expecting these newlines to be kept.