[jira] Commented: (MSITE-486) Site navigation not generated for submodules of multimodule project when site.xml defined in the parent
[ http://jira.codehaus.org/browse/MSITE-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
[jira] Commented: (MSITE-486) Site navigation not generated for submodules of multimodule project when site.xml defined in the parent
[ http://jira.codehaus.org/browse/MSITE-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=235039#action_235039 ] Thomas Scheffler commented on MSITE-486: The workaround described by André {quote} Adding an _inherit_ attribute will do it (for 2.1.1). {{menu ref=modules inherit=top/}} {quote} does *not* work for me with 2.1.1. It is definitely not an option to provide a site.xml to every child pom just to define a skin for every subproject, as it works find with 2.0.1 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 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
[jira] Commented: (MSITE-486) Site navigation not generated for submodules of multimodule project when site.xml defined in the parent
[ http://jira.codehaus.org/browse/MSITE-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=225432#action_225432 ] Matthias Wegerhoff commented on MSITE-486: -- Got a similar problem. When defining a site.xml in a seperate Project that is referenzed as parent in a second project everything (skin, breadcrumbs,...) gets inherited, except the menu ref=modules / entry which results in missing links to submodules. By adding a site.xml to every Project everything works fine, but trying to define a site-decriptor only for the parent results in the described problem. 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 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