Closed ppalaga closed 9 years ago
@khmarbaise or somebody else, could you please review this PR?
e685d2e is a result of rebasing on top of current master and I also switched to the latest annotation conventions. Could please somebody review this PR?
Thanks @khmarbaise !
@khmarbaise, BTW, could you please name some estimate when the next release of xml-maven-plugin can be expected?
I hope that there is a general consensus that XML plugin is the right place for a mojo checking the formating of XML files.
The present proposal is able to check spaces indentation only. Tabs and other options, such as checking trailing spaces can perhaps be added later.
The core of the implementation existed previously as a Checkstyle check https://github.com/hawkular/hawkular-build-tools/blob/master/build-tools/src/main/java/org/hawkular/build/checkstyle/xml/XmlIndentCheck.java Asking about the inclusion of the check in Checkstyle, I was told that Checkstyle is Java centric and a contribution like this would not be accepted.
Nevertheless the code was in use within Hawkular for a couple of months and can be regarded as stable and tested in practice.