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

Parent project site descriptor menu options always a link back to parent site

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.0-beta-5, 2.0-beta-6, 2.0-beta-7, 2.0, 2.0.1
    • None
    • None
    • Using maven 2.0.9 - and all versions of the site plugin all the way back to 2.0-beta-5.

    Description

      I'd like to have a parent project define what items are in a given menu for all child projects and let the child projects define the contents of those links (this doesn't work).

      In the documentation for the site plugin here:

      http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html

      There is a bit in there about how to get a parent project site descriptor to be inherited by a child project by using the following:

      <menu name="My Inherited Menu" inherit="top">

      This is great if you want the child project to always link back to the parent project's links/pages for each menu option.

      Doxia however shows this is configurable:

      http://maven.apache.org/doxia/doxia-sitetools-1.0.x/doxia-decoration-model/decoration.html#class_menu

      inheritAsRef - If this is a reference, setting true means that it will be populated in the project, whereas if it is false, it is populated in the parent and then inherited. The default value is false.

      This property currently doesn't work.

      Attachments

        1. MSITE-420.zip
          36 kB
          RĂ¼diger zu Dohna
        2. MSITE-420.zip
          4 kB
          Lukas Nalezenec

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              ejciramella EJ Ciramella
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: