You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2021/04/05 20:11:00 UTC

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

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

Hudson commented on MCHECKSTYLE-99:
-----------------------------------

Build succeeded in Jenkins: Maven » Maven TLP » maven-checkstyle-plugin » master #36

See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-checkstyle-plugin/job/master/36/

> <includeTestSourceDirectory> should use default test sources xref output dir: ${project.reporting.outputDirectory}/xref-test
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-99
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-99
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>          Components: checkstyle:checkstyle
>    Affects Versions: 2.2
>         Environment: Linux (but I assume it happens in all environs)
>            Reporter: Dan Rollo
>            Assignee: Sylwester Lachiewicz
>            Priority: Major
>             Fix For: 3.2.0
>
>         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 was sent by Atlassian Jira
(v8.3.4#803005)