You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Brock (JIRA)" <ji...@codehaus.org> on 2012/11/08 00:28:13 UTC

[jira] (MCHECKSTYLE-99) should use default test sources xref output dir: ${project.reporting.outputDirectory}/xref-test

    [ https://jira.codehaus.org/browse/MCHECKSTYLE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313060#comment-313060 ] 

Andrew Brock commented on MCHECKSTYLE-99:
-----------------------------------------

This is happening for me too - it's not just Linux
Windows 7, Maven 3.0.4, Checkstyle plugin version 2.9.1
Agree with Dan's suggestion as a logical fix.
                
> <includeTestSourceDirectory> should use default test sources xref output dir: ${project.reporting.outputDirectory}/xref-test
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-99
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-99
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: Linux (but I assume it happens in all environs)
>            Reporter: Dan Rollo
>         Attachments: pom.xml
>
>
> The xref link to the Source pages in the checkstyle report page is
> broken. The source xref link for Unit Test Source files is not using the
> default value of the destDir for jxr test sources. From the jxr plugin docs
> for jxr:test-jxr:
> destDir
> Folder where the Xref files will be copied to.
>     * Type: java.lang.String
>     * Required: No
>     * Expression: ${project.reporting.outputDirectory}/xref-test
> I think the checkstyle plugin should:
>     - assume the default dir for jxr:test-jxr
>     - provide it's own additional override setting (similar to xrefLocation,
> but for test sources). like: testXrefLocation.
> A pom file exhibiting this problem is attached.
> Dan Rollo

--
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