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

Fixing the order of items in "Modules" menu

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.3, 3.0
    • multi module
    • None

    Description

      Currently, it is impossible to influence the order in which the "Modules" show up in a generated site's menu when including them like this in the site descriptor:

      <menu ref="modules"/>

      As far as I can tell, the order of items in the menu depends on the order in which Maven builds the modules – and this does not always put the most important module at the top of the list. In fact, the top of the list is in all likelihood occupied by various low-level infrastructure modules; the high-level, user-visible modules typically come much later.

      This also means that the order of menu items depends on the module's dependencies; thus, this can result in unforeseen changes to the site when one module's build changes. Why doesn't Maven simply use the order of the module elements? That would be simple and predictable.

      Attachments

        1. demo.tar.gz
          0.8 kB
          Andreas Sewe

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              sewe Andreas Sewe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: