[ https://jira.codehaus.org/browse/MSITE-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306386#comment-306386 ]
Herve Boutemy commented on MSITE-645: ------------------------------------- yeah, documentation is wrong: this href attribute doesn't exist either now (see http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html#class_menu) nor in old 1.0.x Doxia (see http://maven.apache.org/doxia/doxia-sitetools-1.0.x/doxia-decoration-model/decoration.html#class_menu) I suppose this is a typo nobody reported yet > Menu no longer accepts "href" attribute > --------------------------------------- > > Key: MSITE-645 > URL: https://jira.codehaus.org/browse/MSITE-645 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: documentation > Affects Versions: 3.1 > Reporter: Paul Benedict > > Section "Including Generated Content": > http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html > I used the example: > {noformat} > <menu name="Foo" href="foo.html" /> > {noformat} > Error reported: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.1:site (default-cli) on project > leave: SiteToolException: Error parsing site descriptor: Unknown attribute > 'href' for tag 'menu' (position: START_TAG seen ...<body>\r\n <menu > name="Foo" href="foo.html" />... @3:40) -> [Help 1] > Either the documentation is wrong or the site schema has changed. -- 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