Leo Breuss created MPDF-66:
------------------------------

             Summary: custom properties are not filtered in .apt.vm
                 Key: MPDF-66
                 URL: https://jira.codehaus.org/browse/MPDF-66
             Project: Maven PDF Plugin
          Issue Type: Bug
    Affects Versions: 1.2
            Reporter: Leo Breuss


The pdf-plugin does not properly filter the .apt.vm files.

The following site docu fragment works with the site-plugin 3.3 and 3.4, but 
fails with the pdf-plugin.

{code:title=download.apt.vm}
Download

~~ See 
http://stackoverflow.com/questions/4836564/maven-properties-in-site-apt-files

 {{${release-download-url}}} 
{code}

{code}
[INFO] --- maven-pdf-plugin:1.2:pdf (pdf) @ commons-mail ---
...
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-pdf-plugin:1.2:pdf (pdf) on project 
commons-mail: Error during document generation: Error parsing 
C:\Users\leo\myproject\target\pdf\site.tmp\apt\download.apt.vm: missing '}' -> 
[Help 1]
{code}

See also this stackoverflow question: 
http://stackoverflow.com/questions/18142538/maven-pdf-plugin-custom-properties-are-not-filtered-in-the-generated-pdf



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to