docbook-support integration

docbook-support is another maven packaging type, defined by the org.jboss.maven.plugins:maven-docbook-support-plugin plugin. The goal of the docbook-support is to define a common, resuable packaging bundle for DocBook support resources such as XSLT, images, fonts and css. The jDocBook Plugin can take advantage of a docbook-support dependency in two ways:

  1. Because
    1. dependencies are added to the classpath
    2. the jDocBook Plugin can locate XSLT via classpath resources (see example)

    users can reference XSLT stylesheets from a docbook-support dependency as a custom stylesheet (see the usage page).

  2. Given the staging approach taken by this plugin for dealing with with resources (css, fonts and images) it automatically stages any css, font or image resources found inside a dependency of type docbook-support. See example.