Maven project to generate a PDF file via apache fop

1.8k views Asked by At

I'm looking for an example maven pom that will generate a PDF document from a XML document using xsl:fo transforms.

1

There are 1 answers

0
khmarbaise On BEST ANSWER

The best solution for this is to use the docbkx-maven-plugin which is really good to produce pdf's and HTML from the DocBook source. See in the example to get full overview how it works.

<plugin>
  <groupId>com.agilejava.docbkx</groupId>
  <artifactId>docbkx-maven-plugin</artifactId>
  <version>2.0.14</version>
</plugin>