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

Wrong links in modules overview page if module artifactId does not match directory structure

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3.1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      The site plugin docs state that 'If subprojects inherit the site URL from a parent POM, they will automatically append their <artifactId> to form their effective deployment location.' However, the modules overview page created by the pir plugin apparently uses the sub-modules directory names instead of the artifactId, leading to wrong links if the artifactId is different from the module name. The links in the modules menu (which is created by the site plugin) is correct.

        Issue Links

          Activity

          Hide
          Lukas Theussl added a comment -

          MPIR-201 is a more general problem where the deployment URL given in distributionManagement differs from the module names.

          Show
          Lukas Theussl added a comment - MPIR-201 is a more general problem where the deployment URL given in distributionManagement differs from the module names.
          Hide
          Lukas Theussl added a comment -

          Attaching a sample project (adapted from the one at MPIR-201) that illustrates the problem. Run 'mvn clean site site:stage' and check the link in modules.html in the staging site.

          Show
          Lukas Theussl added a comment - Attaching a sample project (adapted from the one at MPIR-201 ) that illustrates the problem. Run 'mvn clean site site:stage' and check the link in modules.html in the staging site.
          Hide
          Lukas Theussl added a comment -

          Fixed in r1044251

          Show
          Lukas Theussl added a comment - Fixed in r1044251

            People

            • Assignee:
              Lukas Theussl
              Reporter:
              Lukas Theussl
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: