[ https://issues.apache.org/jira/browse/MPMD-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Dangel resolved MPMD-128. --------------------------------- Resolution: Not A Problem Fix Version/s: 3.9.0 This is not a problem anymore if the reporting plugins are configured as recommend in the global <reporting> section. > Xref link generation regression with Maven 3 > -------------------------------------------- > > Key: MPMD-128 > URL: https://issues.apache.org/jira/browse/MPMD-128 > Project: Maven PMD Plugin > Issue Type: Bug > Components: CPD, PMD > Affects Versions: 2.5 > Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) > Java version: 1.6.0_20 > Java home: /usr/lib/jvm/java-6-openjdk/jre > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix" > Reporter: Marc Rohlfs > Assignee: Andreas Dangel > Priority: Minor > Fix For: 3.9.0 > > Attachments: MPMD-128-IT.patch, MPMD-128_sample.zip > > > 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. -- This message was sent by Atlassian JIRA (v6.4.14#64029)