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

module site(s) created in the wrong place

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.6, 2.7
    • Fix Version/s: None
    • Component/s: CPD, PMD
    • Labels:
      None
    • Environment:
      Linux, Maven 2.2.1

      Description

      having this project structure:
      pom.xml[type=pom, defines the pmd plugin in the reporting section]
      modules/part1/pom.xml[type=jar]
      modules/part2/pom.xml[type=jar]

      running "mvn site" on the parent project generates all reports on the parent target/site/ folder (Project License, CheckStyle, FindBugs, ...), except PMD and CPD, which get generated in the two modules target/site/ dirs, and thus do not show up in the main report.
      tested with maven PMD plugin versions 2.6 and 2.7.

      if more info is needed, or testing, tell me please.
      i attached a a zip file with a quite minimal test project.
      The zip contains a folder TestProject with the above structure inside. try running "mvn site" in folder TestProject, and have a loot at:
      target/site/
      modules/part1/target/site/
      modules/part2/target/site/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hoijui Robin Vobruba
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: