[
http://jira.codehaus.org/browse/MSITE-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249138#action_249138
]
Lukas Theussl commented on MSITE-486:
-------------------------------------
AFAICS this is not a bug, you are getting exactly what you ask for. The child
inherits the site.xml from the parent, but menus are not inherited unless you
specify the inherit attribute, so the navigation in the child is empty. If you
want the equivalent behaviour as in site plugin 2.0.1, you have to put <menu
ref="reports" inherit="top"/> into the parent site.xml (not modules, as above,
the child has no modules). If you put <menu ref="parent" inherit="top"/>, the
child will have a correct link to the parent.
> Site navigation not generated for submodules of multimodule project when
> site.xml defined in the parent
> -------------------------------------------------------------------------------------------------------
>
> Key: MSITE-486
> URL: http://jira.codehaus.org/browse/MSITE-486
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 2.1, 2.1.1
> Environment: Windows XP SP2, Sun/Oracle JDK 1.6, Maven 2.2.1
> Reporter: Grzegorz Slowikowski
> Attachments: MSITE-486.zip
>
>
> Bug that manifests itself like http://jira.codehaus.org/browse/MSITE-456 but
> in different configuration.
> If you define "src/site/site.xml" file for the root module the navigation
> left menu in submodule is completely empty. After deleting this "site.xml"
> file everything works (maybe something has recently changed in this file
> content/structure requirements).
> Everything works without problems for 2.0.1 version of Maven site plugin.
--
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