If you wish to supply your own Velocity template, you may use the templateFile parameter, thus:
mvn docbkx-wrapper:generate -DtemplateFile=src/site/site.vm
It is better to bind the goal to the pre-site
execution
phase, thus:
<plugin> <groupId>org.kathrynhuxtable.maven.plugins</groupId> <artifactId>htmlfilter-site-maven-plugin</artifactId> <version>0.1</version> <executions> <execution> <goals> <goal>tidy</goal> </goals> <phase>pre-site</phase> </execution> </executions> <configuration> <templateFile>${basedir}/src/site/site.vm</templateFile> </configuration> </plugin>
That way you can simply execute:
mvn site
and the files will be generated before your site documentation.