[ http://jira.codehaus.org/browse/MSITE-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MSITE-398. --------------------------------- Resolution: Duplicate > Menus from the parent pom should not be inherited > ------------------------------------------------- > > Key: MSITE-398 > URL: http://jira.codehaus.org/browse/MSITE-398 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Components: site descriptor > Affects Versions: 2.0-beta-6, 2.0-beta-7, 2.0 > Environment: Windows, Java 6, Maven 2.09 > Reporter: Anthony Whitford > Priority: Blocker > Attachments: maven-site-plugin-bug.zip > > > According to the *Inheritance* section from: > [http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html] > it says, > bq. By default, only the basic settings are inherited. From the body, only > the links are inherited, and these accumulate to contain all the parents' > site descriptor links. > Alas, this is not the case and this is a major problem. If I downgrade to > 2.0-beta-5, the behavior is as expected. Using 2.0-beta-6, 2.0-beta-7, or > 2.0, makes the menus from the parent pom trickle into the inheriting project. > I have attached a sample project to illustrate this problem. The attached > zip contains 2 simple maven projects: > * parentpom -- represents a corporate parent pom with some site documentation > * multiproj -- represents a multiproject that inherits the parentpom. > If you edit _parentpom\pom.xml_ and change the version of the site plugin to > *2.0-beta-5*, then run {{mvn clean install site}} for both the {{parentpom}} > and then {{multiproj}}, you will see a fine site generated for _multiproj_. > Then, if you edit _parentpom\pom.xml_ and change the version of the site > plugin to *2.0* (the latest), then run {{mvn clean install site}} for both > the {{parentpom}} and then {{multiproj}}, you will see the site generated for > _multiproj_ contains menu links from the parent pom which should not have > been inherited. -- 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