[
https://jira.codehaus.org/browse/MPMD-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=291357#comment-291357
]
Dennis Lundberg commented on MPMD-143:
--------------------------------------
This is the expected behavior. The PMD Plugin by default does *not* create an
aggregated report for a multi-module build. You need to configure that
yourself, by setting the "aggregate" parameter to true.
http://maven.apache.org/plugins/maven-pmd-plugin/pmd-mojo.html#aggregate
> module site(s) created in the wrong place
> -----------------------------------------
>
> Key: MPMD-143
> URL: https://jira.codehaus.org/browse/MPMD-143
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Components: CPD, PMD
> Affects Versions: 2.6, 2.7
> Environment: Linux, Maven 2.2.1
> Reporter: Robin Vobruba
> Attachments: TestProject.zip
>
>
> 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/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira