Inheritance of site.xml sometimes leads to incorrect links ----------------------------------------------------------
Key: MSITE-187 URL: http://jira.codehaus.org/browse/MSITE-187 Project: Maven 2.x Site Plugin Issue Type: Bug Affects Versions: 2.0-beta-5 Reporter: Dennis Lundberg This issue occurred for me after a change recently was made to the maven plugins. The change introduced a menu that is inherited from the parent's site.xml. Sometimes this works well and sometimes it doesn't. Preparations: - Remove the whole doxia and maven-site-plugin folders from the local repo - i.e. all versions, to make sure that the released versions from the central repo get downloaded. - Build a freshly copy of maven 2.0.5-SNAPSHOT from source and use it for the following tests. When it works: - Add a menu to src/test/projects/site-plugin-test8/project8/src/site/site.xml in maven-site-plugin that will be inherited by the sub-projects - Run mvn site in one of the sub-projects src/test/projects/site-plugin-test8/project8/framework and note that the menu items are correctly linked When it doesn't work: - Check out a fresh copy of maven-release-plugin to a completely new location where there is no maven plugin-parent in sight - Run mvn site on it and the inherited menu items are not correctly linked. They go to "../whatever.html" instead of "whatever.html". -- 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