[
https://jira.codehaus.org/browse/MSITE-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg updated MSITE-651:
----------------------------------
Attachment: screenshot-1.jpg
Example of how the suggested fix looks for the sample project.
> Unnecessary "parent" and "modules" menus show up as empty sections in sitemap
> -----------------------------------------------------------------------------
>
> Key: MSITE-651
> URL: https://jira.codehaus.org/browse/MSITE-651
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Affects Versions: 3.1
> Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Reporter: Andreas Sewe
> Attachments: example.tar.gz, screenshot-1.jpg
>
>
> When using {{generateSitemap}}, the resulting {{sitemap.html}} contains ugly
> empty sections (empty {{<h4>}}, superfluous {{<hr>}}) if one of the _special_
> menus ({{parent}}, {{module}}) is empty as the project in question does not
> have a parent or modules, respectively.
> The {{sitemap.html}} generated by the attached example project ({{mvn site}})
> illustrates this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira