+ <plugin>
+ <groupId>com.agilejava.docbkx</groupId>
+ <artifactId>docbkx-maven-plugin</artifactId>
+ <configuration>
+ <sourceDirectory>doc/reference</sourceDirectory>
+ <targetDirectory>target/site/reference</targetDirectory>
+ <htmlStylesheet>css/style.css</htmlStylesheet>
+ <postProcess>
+ <copy todir="target/site/reference">
+ <fileset dir="doc/reference">
+ <include name="*/*.css" />
+ </fileset>
+ <fileset dir="doc/reference">
+ <include name="img/**" />
+ </fileset>
+ </copy>
+ </postProcess>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate-html</goal>
+ <goal>generate-pdf</goal>
+ </goals>
+ <phase>pre-site</phase>
+ </execution>
+ </executions>
+ </plugin>