You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/02/27 23:09:19 UTC

[jira] Created: (MSANDBOX-45) Ability to use pom properties in pdf.xml

Ability to use pom properties in pdf.xml
----------------------------------------

                 Key: MSANDBOX-45
                 URL: http://jira.codehaus.org/browse/MSANDBOX-45
             Project: Maven 2.x Sandbox
          Issue Type: Wish
          Components: maven-pdf-plugin
            Reporter: Wendy Smoak


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

        

[jira] Closed: (MPDF-1) Ability to use pom properties in pdf.xml

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MPDF-1.
------------------------------

      Assignee: Vincent Siveton
    Resolution: Fixed

fixed in [r772178|http://svn.apache.org/viewvc?rev=772178&view=rev]

> 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

        

[jira] Commented: (MPDF-1) Ability to use pom properties in pdf.xml

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-1?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=175255#action_175255 ] 

Wendy Smoak commented on MPDF-1:
--------------------------------

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

        

[jira] Moved: (MPDF-1) Ability to use pom properties in pdf.xml

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MSANDBOX-45 to MPDF-1:
-----------------------------------------

    Component/s:     (was: maven-pdf-plugin)
            Key: MPDF-1  (was: MSANDBOX-45)
        Project: Maven 2.x PDF Plugin  (was: Maven 2.x Sandbox)

> 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
>
> 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

        

[jira] Closed: (MPDF-1) Ability to use pom properties in pdf.xml

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vincent Siveton closed MPDF-1.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Your issue was not in the PDF mojo but in the doc renderer. I fixed the pb in r772591 and redeployed a snapshot of doc-renderer. 
I redeployed also the plugin.

BTW I created a small test case for this issue.

> 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
>             Fix For: 1.0
>
>
> 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

        

[jira] Issue Comment Edited: (MPDF-1) Ability to use pom properties in pdf.xml

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Reopened: (MPDF-1) Ability to use pom properties in pdf.xml

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wendy Smoak reopened MPDF-1:
----------------------------


Reopening to fix use of version number property in the output filename, where it gets truncated.

> 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