[ 
https://issues.apache.org/jira/browse/MSITE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MSITE-135:
--------------------------------
    Description: 
inherited {{site.xml}} files are interpolated with the originating project's 
model values and not the consumer project's values

i have a n-deep multiproject env; when a sub-project uses the root project's 
{{site.xml}} file, any {{$\{project.\*}}} expression defined in the root 
site.xml are replaced with values from the root project and not the project 
that is being rendered, ie. title in index.html would be "root project" and not 
"sub-sub-sub-project". This applied to all {{$\{project.\*}}} expressions in 
the site.xml

  was:
inherited {{site.xml}} files are interpolated with the originating project's 
model values and not the consumer project's values

i have a n-deep multiproject env; when a sub-project uses the root project's 
{{site.xml}} file, any {{$\{project.*\}}} expression defined in the root 
site.xml are replaced with values from the root project and not the project 
that is being rendered, ie. title in index.html would be "root project" and not 
"sub-sub-sub-project". This applied to all {{\$\{project.*\}}} expressions in 
the site.xml


> inherited site.xml files are interpolated with the originating project's 
> model values and not the consumer project's values
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-135
>                 URL: https://issues.apache.org/jira/browse/MSITE-135
>             Project: Maven Site Plugin
>          Issue Type: Bug
>          Components: inheritance, property interpolation
>    Affects Versions: 2.0-beta-5
>         Environment: 2.0.4
>            Reporter: skaze
>            Assignee: Robert Scholte
>
> inherited {{site.xml}} files are interpolated with the originating project's 
> model values and not the consumer project's values
> i have a n-deep multiproject env; when a sub-project uses the root project's 
> {{site.xml}} file, any {{$\{project.\*}}} expression defined in the root 
> site.xml are replaced with values from the root project and not the project 
> that is being rendered, ie. title in index.html would be "root project" and 
> not "sub-sub-sub-project". This applied to all {{$\{project.\*}}} expressions 
> in the site.xml



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to