[ https://jira.codehaus.org/browse/MPMD-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MPMD-143. -------------------------------- Resolution: Not A Bug Plugins handle aggregated reports differently. The old way, which maven-pmd-plugin uses, has an aggregate parameter. The new way has two different reports - one aggregated and one non-aggregated. Hopefully we can converge all plugins so that they all work in the same way, but that will take some time... > 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