[ http://jira.codehaus.org/browse/MSITE-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124533 ]
Benjamin Bentmann commented on MSITE-180: ----------------------------------------- bq. The parent's site.xml overrides everything in the child module's site.xml This seems like MSITE-279 which has been fixed just a few days ago. I cannot reproduce the bad inheritance with the current SVN head. The last [snapshot of the plugin|http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-7-SNAPSHOT/] seems outdated, so can you rebuild the plugin from source and check again? bq. Furthermore the site:stage-target doesn't generate working links between modules The links seem OK when using {{site:stage}} but {{site:stage-deploy}} alters the directory structure, causing the links to fail. But that's a different issue: MSITE-304 > Missing url tag in (parent) pom make it ignore the site inheritence system > -------------------------------------------------------------------------- > > Key: MSITE-180 > URL: http://jira.codehaus.org/browse/MSITE-180 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Components: inheritance > Affects Versions: 2.0-beta-5 > Reporter: Geoffrey De Smet > Attachments: multi-module-project.zip > > > IF none of the poms (module or parent) don't have an url tag, like this: > <project ...> > ... > <url>...</url> > ... > </project> > (It doesn't matter if they have url tags in scm, distribution etc) > THEN site inheritence quitely isn't applied, for example in the parent's > site.xml > <menu name="Blogs" inherit="bottom"> > <item name="maven" href="http://www.mavenblogs.org/"/> > </menu> > isn't inherited in the childe module's site. > proposed solutions: > - or fix it :) > - or document this wanted behaviour in the site plugin's documentation at > http://maven.apache.org/plugins/maven-site-plugin/howto.html > with something like > "Site inheritence only works if you have a url tag in your parent pom." > because this can cost people many hours - it did for me > But once site inheritence works, it's very nice though :) -- 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