-
xml format bug
Xml formatting does not seem to be 100%. Notice the improperly indented opening element tag in the pom.xml snippet below.
Run this script:
Code:
project --topLevelPackage test.pom.format.bug
dependency add --groupId test.format --artifactId format-bug --version 1
Get this output snippet from pom.xml
Code:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>test.format</groupId>
<artifactId>format-bug</artifactId>
<version>1</version>
</dependency>
</dependencies>
Is this a known issue or is it on purpose?
I did not have luck searching for any existing forum posts about this issue.