Task X: Configuring Plugins

Now that you've spotted some of the options you'd like to configure for you plugin it's time to add them to your project's POM.

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>com.agilejava.docbkx</groupId>
        <artifactId>docbkx-maven-plugin</artifactId>
        <configuration>
          <tocMaxDepth>2</tocMaxDepth>
          <xincludeSupported>true</xincludeSupported>
          <includes>book.xml</includes>
        </configuration>
        <executions>
          <execution>
            <phase>prepare-package</phase>
            <goals>
              <goal>generate-pdf</goal>
              <goal>generate-html</goal>
            </goals>
          </execution>
        </executions>
      <plugin>
    </plugins>
  </build>
</project>