Usage

Using the Docbkx Wrapper Plugin you can easily generate documentation from DocBook source that will resemble and fit with the documentation produced by the site plugin.

Generating HTML Files

You can run the goal directly by executing:

mvn docbkx-wrapper:generate

Binding the Goal to a Phase

It is better to bind the goal(s) to the pre-site execution phase, thus:

<plugin>
    <groupId>org.kathrynhuxtable.maven.plugins</groupId>
    <artifactId>docbkx-wrapper-plugin</artifactId>
    <version>0.1</version>
    <executions>
        <execution>
            <goals>
                <goal>generate</goal>
            </goals>
            <phase>pre-site</phase>
        </execution>
    </executions>
    ...
</plugin>

That way you can simply execute:

mvn site

and the files will be generated before your site documentation.