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

Xref link generation regression with Maven 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.5
    • None
    • CPD, PMD
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: