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
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.7
    • Component/s: None
    • Labels:
      None

      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

          Andreas Sewe created issue -
          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 ]
          Fix Version/s 2.4 [ 17000 ]
          Assignee Lukas Theussl [ lukas ]
          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
          Hervé Boutemy added a comment -

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

          Show
          Hervé Boutemy added a comment - IT added in r1100762 but it doesn't work as expected
          Hervé 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 ]
          Hervé Boutemy made changes -
          Link This issue depends upon MNG-5140 [ MNG-5140 ]
          Hide
          Hervé 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
          Hervé 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 -
          Fix Version/s 2.7 [ 18945 ]
          Assignee Lukas Theussl [ lukas ] Robert Scholte [ rfscholte ]
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          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 -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          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 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:10:01 UTC 2015 [ 1428235801085 ]
          Mark Thomas made changes -
          Link This issue depends upon MSHARED-172 [ MSHARED-172 ]
          Mark Thomas made changes -
          Link This issue relates to MSHARED-173 [ MSHARED-173 ]
          Mark Thomas made changes -
          Link This issue is related to MSHARED-201 [ MSHARED-201 ]
          Mark Thomas made changes -
          Link This issue relates to MSITE-458 [ MSITE-458 ]
          Mark Thomas made changes -
          Link This issue relates to MSITE-402 [ MSITE-402 ]
          Mark Thomas made changes -
          Link This issue is duplicated by MSITE-675 [ MSITE-675 ]
          Mark Thomas made changes -
          Workflow jira [ 12723446 ] Default workflow, editable Closed status [ 12755846 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:45:01 UTC 2015 [ 1428281101090 ]
          Mark Thomas made changes -
          Link This issue depends upon MSHARED-172 [ MSHARED-172 ]
          Mark Thomas made changes -
          Link This issue is related to MSHARED-201 [ MSHARED-201 ]
          Mark Thomas made changes -
          Link This issue relates to MSHARED-173 [ MSHARED-173 ]
          Mark Thomas made changes -
          Link This issue relates to MSITE-402 [ MSITE-402 ]
          Mark Thomas made changes -
          Link This issue relates to MSITE-458 [ MSITE-458 ]
          Mark Thomas made changes -
          Link This issue is duplicated by MSITE-675 [ MSITE-675 ]
          Mark Thomas made changes -
          Workflow jira [ 12961101 ] Default workflow, editable Closed status [ 12997981 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          335d 22h 19m 1 Lukas Theussl 14/Dec/10 04:19
          Closed Closed Reopened Reopened
          6d 23h 12m 2 Michael Osipov 16/May/13 16:37
          Reopened Reopened Closed Closed
          1292d 9h 47m 2 Michael Osipov 05/Jul/14 14:19

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development