Chapter 5. Conclusion

5.1. Docbkx works great

Docbkx is the right tool for the job. When correctly setup, it works like a charm.

5.2. Download maven project

You can download this maven project and build it by yourself here: http://www.springfuse.com/blog/docbook/docbook-1.0.0-src.zip

5.3. Missing artifacts ?

To produce image in PDF I found the solution reading Open JPA : FOP needs the JAI jars, unfortunately they are not in the central maven repository.

5.3.1. Manual installation

5.3.2. Maven profile installation

I created the install maven profile: it will download the file for you and unzip it in target/ .

  • Just execute

    mvn -Pinstall initialize

  • Then in target execute

    install.(bat|sh)

After that you have the jars in your local repository,you can re-execute the maven command:

mvn

to produce the documentation

5.4. Download PDF

You can download this article as a PDF at http://www.springfuse.com/blog/docbook/maven-docbook-syntax-highlighting.pdf