Guillaume Boué closed MCHECKSTYLE-150.
    Resolution: Not A Problem

Note that {{reportPlugins}} has been removed from the Site Plugin (see 
MSITE-792), so that reporting plugins must be declared in the {{<reporting>}} 
section. Hence this is not a problem as declaring the jxr plugin in the 
{{<reporting>}} section is currently the only intended way to do this.

> Xref link generation regression with Maven 3
> --------------------------------------------
>                 Key: MCHECKSTYLE-150
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-150
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>          Components: checkstyle:checkstyle
>    Affects Versions: 2.6
>         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: MCHECKSTYLE-150-IT.patch, MCHECKSTYLE-150_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 was sent by Atlassian JIRA

Reply via email to