Maven xhtml Plug-in validates the xhtml code in project documentation and generates a report with the details of all the errors found.
'maven-validator:maven-xhtml-plugin:1.2'
<dependency>
<groupId>maven-validator</groupId>
<artifactId>maven-xhtml-plugin</artifactId>
<version>1.2</version>
</dependency>
<dependency org="maven-validator" name="maven-xhtml-plugin" rev="1.2"/>
"maven-validator", "maven-xhtml-plugin", "1.2"