Open sewe opened 4 months ago
A valid POM conforming to version 4.1.0 of the format and starting with
<project root="true" xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd"> <modelVersion>4.1.0</modelVersion>
gets rewritten to
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.1.0</modelVersion>
Essentially
project/@root
project/modelVersion
I would expect tidy:pom to preserve all of the original, except for possibly reordering attributes.
tidy:pom
A valid POM conforming to version 4.1.0 of the format and starting with
gets rewritten to
Essentially
project/@root
) get removed,project/modelVersion
curiously remains unchanged.I would expect
tidy:pom
to preserve all of the original, except for possibly reordering attributes.