[
http://jira.codehaus.org/browse/MPDF-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=175255#action_175255
]
Wendy Smoak edited comment on MPDF-1 at 5/6/09 8:41 AM:
--------------------------------------------------------
Thanks, Vincent. To try this out I first built Doxia, then the PDF plugin.
Then I edited src/site/pdf.xml to include the version as above.
The result was only part of the version being used:
$ ls target/site/*.pdf
target/site/apache-continuum-1.4.pdf
I expected apache-continuum-1.4.0-SNAPSHOT.pdf
Can you add a test to show how it should work?
was (Author: wsmoak):
Thanks, Vincent. To try this out I first built Doxia, then the PDF plugin.
Then I edited src/site/pdf.xml to include the version as above.
The result was the first bit of the literal property being used:
$ ls target/site/*.pdf
target/site/apache-continuum-${project.pdf
Can you add a test to show how it should work?
> Ability to use pom properties in pdf.xml
> ----------------------------------------
>
> Key: MPDF-1
> URL: http://jira.codehaus.org/browse/MPDF-1
> Project: Maven 2.x PDF Plugin
> Issue Type: Wish
> Reporter: Wendy Smoak
> Assignee: Vincent Siveton
>
> I'd like to include the project version number in the filename of the pdf,
> for example, in pdf.xml:
> <document outputName="apache-continuum-${project.version}">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira