[ 
http://jira.codehaus.org/browse/MSITE-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_121579
 ] 

John Allen commented on MSITE-135:
----------------------------------

In regards to the multiple parent items appearing in the final leaf site, as a 
quick hack I have removed the populateParentMenu and populateModulesMenu calls 
from attach-descriptor mojo that resulted in the deployed site.xml being 
modified before attachment and moved the populateParentMenu from within the 
recursive getDecorationModel to its caller so we now only ever get one parent 
item in each project's site. Wasnt the menu::inheritedRef stuff supposed to 
handle all this?

> inherited site.xml files are interpolated with the originating project's 
> model values and not the consumer project's values
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-135
>                 URL: http://jira.codehaus.org/browse/MSITE-135
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: inheritance
>    Affects Versions: 2.0-beta-5
>         Environment: 2.0.4
>            Reporter: John Allen
>             Fix For: 2.0-beta-7
>
>
> 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.*} expressions 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 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

        

Reply via email to