[ http://jira.codehaus.org/browse/MSITE-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185563#action_185563 ]
EJ Ciramella commented on MSITE-420: ------------------------------------ I don't understand what you mean by relative then. Here's my "parent" menu structure: <menu name="Documentation" inherit="top" inheritAsRef="true"> <item name="Overview" href="overview.html"/> <item name="Building" collapse="true" href="building.html"> <item name="Locally" href="building-locally.html"/> <item name="CI" href="building-ci.html"/> </item> <item name="Dependencies of note" href="dependencies-of-note.html"/> <item name="Testing" href="testing.html"/> <item name="Common problems" href="common-problems.html"/> <item name="Stewards" ref="team-list.html"/> </menu> When the child project picks up this site descriptor, all the links are pointing to the parent site. What am I missing? I tried prefixing things with "./" but that didn't help. > Parent project site descriptor menu options always a link back to parent site > ----------------------------------------------------------------------------- > > Key: MSITE-420 > URL: http://jira.codehaus.org/browse/MSITE-420 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Components: doxia integration, inheritance > Affects Versions: 2.0-beta-5, 2.0-beta-6, 2.0-beta-7, 2.0, 2.0.1 > Environment: Using maven 2.0.9 - and all versions of the site plugin > all the way back to 2.0-beta-5. > Reporter: EJ Ciramella > > I'd like to have a parent project define what items are in a given menu for > all child projects and let the child projects define the contents of those > links (this doesn't work). > In the documentation for the site plugin here: > http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html > There is a bit in there about how to get a parent project site descriptor to > be inherited by a child project by using the following: > <menu name="My Inherited Menu" inherit="top"> > This is great if you want the child project to always link back to the parent > project's links/pages for each menu option. > Doxia however shows this is configurable: > http://maven.apache.org/doxia/doxia-sitetools-1.0.x/doxia-decoration-model/decoration.html#class_menu > inheritAsRef - If this is a reference, setting true means that it will be > populated in the project, whereas if it is false, it is populated in the > parent and then inherited. The default value is false. > This property currently doesn't work. -- 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