Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-285

ModulesReport incorrectly contains indirect descendants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.7
    • None
    • index, modules
    • None
    • Patch

    Description

      The modules listed for a multi-module project that contains multi-modules projects are completely out of sorts.

      The modules.html and index.html contain all descendant modules, even those that are not direct decendents. Once the site is staged, any module link that is not a direct descendent of the base module is broken. The correct solution is to not show modules that are not direct descendents. Theorectically, you'd want to dig into the child module to see its children in lieu of this flattening.

      Likely related to MPIR-273 and MPIR-279 and caused by the fix to MPIR-229

      The unit test files were also buggy, so the included patch makes modifications to them. To see failing results run the modified code sans changes to ModulesReport.

      Attachments

        1. patch.diff
          9 kB
          Karl Schaefer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kschaefe Karl Schaefer
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: