maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@codehaus.org>
Subject [jira] (MSHARED-217) Separate inheritance and interpolation
Date Wed, 14 Dec 2011 21:26:02 GMT

     [ https://jira.codehaus.org/browse/MSHARED-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte closed MSHARED-217.
----------------------------------

       Resolution: Fixed
    Fix Version/s: maven-doxia-tools-1.5

Fixed in [rev. 1214470|http://svn.apache.org/viewvc?rev=1214470&view=rev]
                
> Separate inheritance and interpolation 
> ---------------------------------------
>
>                 Key: MSHARED-217
>                 URL: https://jira.codehaus.org/browse/MSHARED-217
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-doxia-tools
>    Affects Versions: maven-doxia-tools-1.4
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>             Fix For: maven-doxia-tools-1.5
>
>
> The implementation uses recursion to get an inherited model of the site.xml, but every
step does the interpolation too.
> So if the parent site.xml contains something like ${project.name}, its value will be
an ancestor project name, often an unexpected value.
> By moving the interpolation from the recursive method to the method-caller you will get
the name of the active project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message