You can look at the RichFaces (http://labs.jboss.com/jbossrichfaces/) project, I know they generate PDF with Maven, but I don't know why plugin they use.
Regards Jeff On Feb 8, 2008 12:27 PM, Julien Graglia <[EMAIL PROTECTED]> wrote: > What do you use to generate PDF books? > > I'am using doxia-maven-plugin to generate html books, but the pdf format > is 'deprecated' because it is generated by iText and iText no longer > support pdf output. (http://maven.apache.org/doxia/modules/index.html). > I have pb with UTF 8 encoding of french pages...(it is a known pb of > iText...) > > I have read that from the doc-book output of doxia, I can generate a PDF > book but I don't have found how...docbook seems very "dark" to me : need > a xsltranslator , how? not a word of doxia site... > > I also have found the JBoss Plugin : maven-jdocbook-plugin > (http://labs.jboss.com/maven-jdocbook-plugin/) but, here again, I didn't > get correct result : i try to inject the docbook xml generated by doxia, > but it is invalid for jdocbook plugin...I have made some hand made > corrections to the xml... but the result is awfull... > > > Well, I try many things, but did not found ONE way to generate a pdf > from maven.... > > What do you use? and how? Thanks! > May be it's just a dream? > > -- > Julien Graglia > > > > Extract of my pom : > > <!-- http://labs.jboss.com/maven-jdocbook-plugin/ --> > <!-- mvn jdocbook:generate --> > <!-- mvn jdocbook:bundle --> > <plugin> > <groupId>org.jboss.maven.plugins</groupId> > <artifactId>maven-jdocbook-plugin</artifactId> > <version>2.0.0</version> > <extensions>true</extensions> > <executions> > <execution> > <phase>install</phase> > <goals> > <goal>generate</goal> > </goals> > </execution> > </executions> > <configuration> > <!-- if no options defined : NPE in > java.lang.NullPointerException > at > org.jboss.maven.plugins.jdocbook.GenerationMojo.process( > GenerationMojo.java:55) > !!--> > <options> > <useRelativeImageUris>true</useRelativeImageUris> > </options> > <formats> > > <format> > <formatName>html</formatName> > </format> > <format> > <formatName>pdf</formatName> > </format> > </formats> > <sourceDocumentName>ref-guide.xml</sourceDocumentName> > > </configuration> > </plugin> > > <!-- > http://maven.apache.org/doxia/doxia/doxia-maven-plugin/index.html --> > <!-- doxia:render-books --> > <plugin> > <groupId>org.apache.maven.doxia</groupId> > <artifactId>doxia-maven-plugin</artifactId> > <version>1.0-alpha-10</version> > <executions> > <execution> > <phase>pre-site</phase> > <goals> > <goal>render-books</goal> > </goals> > </execution> > </executions> > <configuration> > <books> > <book> > <directory>src/books/ref-guide/</directory> > <descriptor>src/books/ref-guide.xml > </descriptor> > <formats> > <format> > <id>xdoc</id> > </format> > <format> > <id>xhtml</id> > </format> > <format> > <id>doc-book</id> > </format> > </formats> > </book> > </books> > </configuration> > </plugin> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- La mélancolie c'est communiste Tout le monde y a droit de temps en temps La mélancolie n'est pas capitaliste C'est même gratuit pour les perdants La mélancolie c'est pacifiste On ne lui rentre jamais dedans La mélancolie oh tu sais ça existe Elle se prend même avec des gants La mélancolie c'est pour les syndicalistes Il faut juste sa carte de permanent Miossec (2006) http://www.jeffmaury.com http://riadiscuss.jeffmaury.com
