You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marc Rohlfs (JIRA)" <ji...@codehaus.org> on 2011/01/11 17:28:57 UTC

[jira] Updated: (MPMD-128) Xref link generation regression with Maven 3

     [ http://jira.codehaus.org/browse/MPMD-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc Rohlfs updated MPMD-128:
-----------------------------

    Attachment: MPMD-128_sample.zip

As there's no reliable order for the report plugin execution, the attached sample can't surely demonstrate the problem. To test, You might change the order of the PMD and the JXR plugin in the POM.

> Xref link generation regression with Maven 3
> --------------------------------------------
>
>                 Key: MPMD-128
>                 URL: http://jira.codehaus.org/browse/MPMD-128
>             Project: Maven 2.x 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
>            Priority: Minor
>         Attachments: MPMD-128_sample.zip
>
>
> When the site reports are created with Maven 3, the Checkstyle 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-checkstyle-plugin/xref/org/apache/maven/plugin/checkstyle/CheckstyleReport.html#670). 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira