You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/04/09 08:16:25 UTC

[jira] [Commented] (MSITE-135) inherited site.xml files are interpolated with the originating project's model values and not the consumer project's values

    [ https://issues.apache.org/jira/browse/MSITE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233385#comment-15233385 ] 

Hudson commented on MSITE-135:
------------------------------

SUCCESS: Integrated in maven-plugins #5594 (See [https://builds.apache.org/job/maven-plugins/5594/])
[MSITE-135] added instructions to use early interpolation when necessary (hboutemy: [http://svn.apache.org/viewvc/?view=rev&rev=1738324])
* maven-site-plugin/src/site/apt/migrate.apt


> 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: Hervé Boutemy
>             Fix For: 3.5
>
>
> 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)