Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-910

Allow skipping auto-generated breadcrumb item for parent module

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.12.1
    • None
    • multi module
    • None

    Description

      Currently it is not possible to not render a breadcrumb link for a parent module in a multi module build (https://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html#Breadcrumbs).

      I have the following setup

      + grandparent
         + src/site.xml (containing breadcrumbs)
         + parent
            + mymodule
      

      In such a setup it is impossible to remove breadcrumb being automatically inserted for parent.

      Adding another src/site.xml to parent with an empty breadcrumbs section does not help. Adding there at least one item overwrites the breadcrumbs from grandparent (in case the name does not overlap) but this requires to repeat the breadcrumbs from the parent.

      Please make the inheritance of breadcrumbs more flexible (similar to https://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html#menu) to allow to merge breadcrumbs with the parent or to skip automatically adding a breadcrumb.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: