Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-128

Xref link generation regression with Maven 3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: CPD, PMD
    • Labels:
      None
    • Environment:

      Description

      When the site reports are created with Maven 3, the PMD plugin doesn't generate the links to the Source Xref pages, when the JXR Plugin hasn't been executed before.

      The plugin looks for the xrefLocation directory and if it doesn't exist, it checks if the JXR plugin is configured for the project (see http://maven.apache.org/plugins/maven-pmd-plugin/xref/org/apache/maven/plugin/pmd/AbstractPmdReport.html#240). To properly generate the Xref links when the report is created with Maven 3, the plugin should also check the reportPlugins paramerter of the Site plugin configuration.

        Attachments

        1. MPMD-128_sample.zip
          3 kB
          Marc Rohlfs
        2. MPMD-128-IT.patch
          4 kB

          Issue Links

            Activity

              People

              • Assignee:
                adangel Andreas Dangel
                Reporter:
                marc.rohlfs Marc Rohlfs
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: