Re: Maven PDF support

2013-12-21 Thread Markku Saarela

For me PDF plugin is working with Markdown:


  org.apache.maven.plugins
  maven-pdf-plugin
  1.2
  

  pdf
  site
  
pdf
  
  
${project.build.directory}
  

  
  

org.apache.maven.doxia
doxia-module-markdown
  1.4

  

  


Cheers,

Markku

On 12/19/2013 12:00 PM, Robert Wettergren wrote:

We have a need to archive site documentation (markdown) and Javadoc for
each release so I thought I'd generate these as pdf.
To my surprise this turned out to be really difficult.

The maven-pdf-plugin doesn't support markdown.
It's also unable to aggregate reports, like Javadoc, due to
http://jira.codehaus.org/browse/MPDF-48
The doxia-maven-plugin can produce pdf but requires new xml 
descriptors.
However, Doxia can only consume markdown through doxia-module-markdown and
that only extends the site plugin.
The site plugin doesn't generate pdf.

The maven javadoc plugin can produce pdf by configuring a doclet.
However, I have a requirement to inject the project version in the PDF and
none of the doclets I've tried (pdfdoclet, texdoclet and aurigadoclet) seem
able to do this without adding new configuration files.

There are currently two things I can't do:
1. Produce PDF from Markdown
2. Product PDF Javadoc containing the project version.

Does anybody know a way of doing these things?

Thanks,
Robert




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven PDF support

2013-12-21 Thread Markku Saarela
Hi,

At least I can produce PDF from Markdown:


  org.apache.maven.plugins
  maven-pdf-plugin
  1.2
  

  pdf
  site
  
pdf
  
  

${project.build.directory}
  

  
  

  org.apache.maven.doxia
  doxia-module-markdown
  1.4

  

  



Markku


2013/12/19 Robert Wettergren 

> We have a need to archive site documentation (markdown) and Javadoc for
> each release so I thought I'd generate these as pdf.
> To my surprise this turned out to be really difficult.
>
> The maven-pdf-plugin doesn't support markdown.
> It's also unable to aggregate reports, like Javadoc, due to
> http://jira.codehaus.org/browse/MPDF-48
> The doxia-maven-plugin can produce pdf but requires new xml 
> descriptors.
> However, Doxia can only consume markdown through doxia-module-markdown and
> that only extends the site plugin.
> The site plugin doesn't generate pdf.
>
> The maven javadoc plugin can produce pdf by configuring a doclet.
> However, I have a requirement to inject the project version in the PDF and
> none of the doclets I've tried (pdfdoclet, texdoclet and aurigadoclet) seem
> able to do this without adding new configuration files.
>
> There are currently two things I can't do:
> 1. Produce PDF from Markdown
> 2. Product PDF Javadoc containing the project version.
>
> Does anybody know a way of doing these things?
>
> Thanks,
> Robert
>


Maven PDF support

2013-12-19 Thread Robert Wettergren
We have a need to archive site documentation (markdown) and Javadoc for
each release so I thought I'd generate these as pdf.
To my surprise this turned out to be really difficult.

The maven-pdf-plugin doesn't support markdown.
It's also unable to aggregate reports, like Javadoc, due to
http://jira.codehaus.org/browse/MPDF-48
The doxia-maven-plugin can produce pdf but requires new xml 
descriptors.
However, Doxia can only consume markdown through doxia-module-markdown and
that only extends the site plugin.
The site plugin doesn't generate pdf.

The maven javadoc plugin can produce pdf by configuring a doclet.
However, I have a requirement to inject the project version in the PDF and
none of the doclets I've tried (pdfdoclet, texdoclet and aurigadoclet) seem
able to do this without adding new configuration files.

There are currently two things I can't do:
1. Produce PDF from Markdown
2. Product PDF Javadoc containing the project version.

Does anybody know a way of doing these things?

Thanks,
Robert