[
http://jira.codehaus.org/browse/MSITE-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259636#action_259636
]
Lukas Theussl commented on MSITE-312:
-------------------------------------
Your use case is not valid. Inherited menus are supposed to be the same for all
child projects. If you have module-specific stuff to add you should add a
separate menu in the child.
In your example project, the parent site will always have an un-resolved link
in the menu.
I attach a slightly modified version of your example project where I added
references to $project.url in the menu. As you see, in the inherited parent
menu, this links back to the parent, as expected. If we would implement what
you ask for, it would point to the child.
MSITE-135 is a completely different issue, it concerns inherited site.xml
files, ie where the child project has no site descriptor at all. Here we are
talking about inherited menus. As you see from my attached project, the
$project.* references are working correctly in inherited menus (tested also
with current site-plugin-2.2 and 2.3-SNAPSHOT).
> Interpolation not working in inherited elements
> -----------------------------------------------
>
> Key: MSITE-312
> URL: http://jira.codehaus.org/browse/MSITE-312
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: inheritance, site descriptor
> Affects Versions: 2.0-beta-7
> Environment: JDK 1.5.0_13 on OS/X 10.5.2
> Reporter: Brian Hanafee
> Attachments: example.zip, MSITE-312.zip
>
>
> Properties defined in the local POM are not interpolated into elements of the
> site that are inherited.
> In the attached example, the property "parentprop" is defined in the parent
> POM and "childprop" is defined in the child POM. The parent project has a
> site.xml that defines an inherited menu with items that reference both
> properties. Only parentprop is interpolated. The child project has an
> identical menu and the properties are interpolated correctly.
--
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