[ https://jira.codehaus.org/browse/MSITE-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275460#comment-275460 ]
Herve Boutemy commented on MSITE-582: ------------------------------------- ok, here is a proposal that should be easy to understand (and I hope it will be easy to implement): suppose a project, with its all parents, has following breacrumbs: A > B > C > D > E > F I want a child to remove D > E > F and replace with M > N > O If that child defines C > M > N > O, C is found in actual breadcrumbs, then we can delete the following items and replace with the suite I think it is natural. If you find it convenient, I'll look at the way to implement this logic... > Make it possible to remove breadcrumbs in child projects again > -------------------------------------------------------------- > > Key: MSITE-582 > URL: https://jira.codehaus.org/browse/MSITE-582 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: New Feature > Components: inheritance > Affects Versions: 3.0 > Reporter: Andreas Sewe > Attachments: example.tar.gz > > > Currently a child can only add more breadcrumbs. There are situations, > however, where it is desirable to remove some or all of the breadcrumbs > defined by the parent, in particular when the Maven project hierarchy doesn't > match the _natural_ hierarchy of the site. See > <http://www.mail-archive.com/users@maven.apache.org/msg117974.html> for an > example (also attached). > One way to do this, without requiring changes to the {{site.xml}} format and > with only minimal breakage of compatibility, would be to simply use the > child's breadcrumbs wholesale whenever they are a prefix to the parents. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira