[ http://jira.codehaus.org/browse/MSITE-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MSITE-254. --------------------------------- Assignee: Dennis Lundberg Resolution: Duplicate This is the current behavior of the site-plugin. > Error when using an absolute URL in a menu item in site.xml > ------------------------------------------------------------ > > Key: MSITE-254 > URL: http://jira.codehaus.org/browse/MSITE-254 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Components: relative links > Reporter: Alexander Hars > Assignee: Dennis Lundberg > > When defining the following menu item in site.xml, then the last menu item is > not rendered properly as an absolute URL. > Its href is empty: > <menu name="Maven 2.0"> > <item name="APT Format" href="format.html"/> > <item name="FAQ" href="faq.html"/> > <item name="Xdoc Example" href="xdoc.html"/> > <item name="Maven 2" href="http://maven.apache.org/maven2/"/> > </menu> > The problem seems to be rooted somewhere in $decoration.body.menus. > The problem does not occur for links! > Steps to reproduce: > - Create a new maven project using the site Archetype. > - Modify the menu section in the site.xml as shown above by adding an > absolute URL. > - run mvn clean > - run mvn site > Check the absolute URL. -- 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