i'm using Maven as a build tool and Checkstyle to check that files conform to the agreed coding style.
The problem is that i also want to check formatting in XML files too, just simple indentation checks, but checkstyle doesn't support it.
I just can't find a tool that can do this simple checks and integrate with Maven.
Any ideas ?
A quick google search offers this: https://www.mojohaus.org/xml-maven-plugin/check-format-mojo.html
Full name: org.codehaus.mojo:xml-maven-plugin:1.0.2:check-format
Description: An XML indentation check over a set of files.
Though I have not used it myself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With