Maven Project Info Reports Plugin
  1. Maven Project Info Reports Plugin
  2. MPIR-182

Make order of reports shown in "Project Reports" configurable

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.7
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      As far as I can tell the plugin's reports are presented in alphabetical order in the "Project Reports" menu. While having "About" come first seems natural, some of the other menu items (in particular, "Source Repository") are placed less than optimally. Why not make this configurable, e.g., by making the order significant in which the report elements occur in the plugin's configuration?

        Issue Links

          Activity

          Lukas Theussl made changes -
          Field Original Value New Value
          Link This issue relates to MSITE-458 [ MSITE-458 ]
          Lukas Theussl made changes -
          Link This issue depends upon MSHARED-172 [ MSHARED-172 ]
          Hide
          Lukas Theussl added a comment -

          Should be fixed with MSHARED-172

          Show
          Lukas Theussl added a comment - Should be fixed with MSHARED-172
          Lukas Theussl made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Lukas Theussl [ lukas ]
          Fix Version/s 2.4 [ 17000 ]
          Resolution Fixed [ 1 ]
          Hide
          Lukas Theussl added a comment -

          Re-opening as it won't be included in the 2.3.1 bug-fix release

          Show
          Lukas Theussl added a comment - Re-opening as it won't be included in the 2.3.1 bug-fix release
          Lukas Theussl made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Hide
          Herve Boutemy added a comment -

          IT added in r1100762 but it doesn't work as expected

          Show
          Herve Boutemy added a comment - IT added in r1100762 but it doesn't work as expected
          Herve Boutemy made changes -
          Fix Version/s 2.4 [ 17000 ]
          Lukas Theussl made changes -
          Link This issue relates to MSHARED-173 [ MSHARED-173 ]
          Lukas Theussl made changes -
          Link This issue relates to MSITE-402 [ MSITE-402 ]
          Hide
          Lukas Theussl added a comment -

          Running the IT with site plugin 2.3 does not order the reports alphabetically anymore (due to MSHARED-172). However, the order of reports is also not the same as specified in the pom. I checked that the order is already arbitrary in the plexus @parameter expression="$

          {reports}

          " that gets injected in AbstractSiteRenderingMojo, so this seems to come from maven core.

          Show
          Lukas Theussl added a comment - Running the IT with site plugin 2.3 does not order the reports alphabetically anymore (due to MSHARED-172 ). However, the order of reports is also not the same as specified in the pom. I checked that the order is already arbitrary in the plexus @parameter expression="$ {reports} " that gets injected in AbstractSiteRenderingMojo, so this seems to come from maven core.
          Hide
          Philip Maher added a comment -

          I'd like to somehow have the option to tell the plugin to make it alphabetical as I don't want to have to go through all of the pom's and alphabetize the reporting section. I reverted from 2.3 back to 2.2 because of the order of the reports no longer being alphabetical.

          Show
          Philip Maher added a comment - I'd like to somehow have the option to tell the plugin to make it alphabetical as I don't want to have to go through all of the pom's and alphabetize the reporting section. I reverted from 2.3 back to 2.2 because of the order of the reports no longer being alphabetical.
          Lukas Theussl made changes -
          Link This issue is related to MSHARED-201 [ MSHARED-201 ]
          Herve Boutemy made changes -
          Link This issue depends upon MNG-5140 [ MNG-5140 ]
          Hide
          Herve Boutemy added a comment -

          found why it doesn't work with Maven <= 2.2.1: see MNG-5140

          but it should be ok with Maven 3 when MSITE-402 is fixed

          Show
          Herve Boutemy added a comment - found why it doesn't work with Maven <= 2.2.1: see MNG-5140 but it should be ok with Maven 3 when MSITE-402 is fixed
          Dennis Lundberg made changes -
          Link This issue is duplicated by MPIR-243 [ MPIR-243 ]
          Hide
          Robert Scholte added a comment -

          IT fixed in r1481402

          Show
          Robert Scholte added a comment - IT fixed in r1481402
          Robert Scholte made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Assignee Lukas Theussl [ lukas ] Robert Scholte [ rfscholte ]
          Fix Version/s 2.7 [ 18945 ]
          Resolution Fixed [ 1 ]
          Hide
          Michael Osipov added a comment -

          Please mark MSITE-675 as dup of this issue.

          Show
          Michael Osipov added a comment - Please mark MSITE-675 as dup of this issue.
          Robert Scholte made changes -
          Link This issue is duplicated by MSITE-675 [ MSITE-675 ]
          Hide
          Gary Gregory added a comment -

          So what do I have to put in the POM to make the order alphabetical?

          Show
          Gary Gregory added a comment - So what do I have to put in the POM to make the order alphabetical?
          Hide
          Michael Osipov added a comment -

          Gary,

          order them in your <reportSet> element.

          Show
          Michael Osipov added a comment - Gary, order them in your <reportSet> element.
          Hide
          Michael Osipov added a comment -

          I cannot say that this issue is really fixed. It works with Maven 3 but not with Maven 2.2.1. I still do experience the not POM-dictated order of project information reports. MNG-5140 claims to have fixed that in 2.2.2 but I have compiled 2.2.2-RC1 and still no avail.

          Test project available.

          Show
          Michael Osipov added a comment - I cannot say that this issue is really fixed. It works with Maven 3 but not with Maven 2.2.1. I still do experience the not POM-dictated order of project information reports. MNG-5140 claims to have fixed that in 2.2.2 but I have compiled 2.2.2-RC1 and still no avail. Test project available.
          Michael Osipov made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Hide
          Michael Osipov added a comment -

          Closing since Maven 2.x is EOL and this works in Maven 3.x.

          Show
          Michael Osipov added a comment - Closing since Maven 2.x is EOL and this works in Maven 3.x.
          Michael Osipov made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]

            People

            • Assignee:
              Robert Scholte
              Reporter:
              Andreas Sewe
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: