This plug-in validates the xhtml code in project documentation and generates a report with the details of all the errors found. For a sample report see the report generated for this site
The Xhtml plugin requires at least maven 1.0 rc2 to work.
To add the xhtml validation report to your maven site, simply do the following:
<dependency> <groupId>maven-validator</groupId> <artifactId>maven-xhtml-plugin</artifactId> <version>1.2</version> <type>plugin</type> </dependency>
<report>maven-xhtml-plugin</report>
to the reports section in your project.xml
If the latest version of the xhtml plugin is not yet in the central repository at ibiblio (this could take some
time, after a new release), you will need to add
maven.repo.remote = http://www.ibiblio.org/maven/,http://maven-validator.sourceforge.net/maven
to your project.properties.