You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2017/02/12 20:22:42 UTC
[jira] [Commented] (MCHECKSTYLE-100) Using
element truncates xref link to "production"
(non-test) classes
[ https://issues.apache.org/jira/browse/MCHECKSTYLE-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862949#comment-15862949 ]
Guillaume Boué commented on MCHECKSTYLE-100:
--------------------------------------------
I wasn't able to reproduce the issue with the attached POM, and a sample Java class in the source directory. Is it possible to attach a minimal project demonstrating the issue?
> Using <includeTestSourceDirectory> element truncates xref link to "production" (non-test) classes
> -------------------------------------------------------------------------------------------------
>
> Key: MCHECKSTYLE-100
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-100
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Components: checkstyle:checkstyle
> Affects Versions: 2.2
> Environment: Linux (assume the same issue exists in all environs)
> maven 2.0.9
> Reporter: Dan Rollo
> Attachments: pom.xml
>
>
> When I include the <includeTestSourceDirectory> element, the source xref link for "production" (non-test) classes has a mangled URL:
> the first letter of the top level package is ommitted in the link:
> Links to production source should be:
> file:///.../jdbc4olap/target/site/xref/org/jdbc4olap/xmla/XmlaProperties.html#10
> But the actual link created is:
> <missing "o" of "org">
> file:///.../jdbc4olap/target/site/xref/rg/jdbc4olap/xmla/XmlaProperties.html#10
> ^
> If I remove the <includeTestSourceDirectory> element, the xref links to
> production sources are fine.
> [BTW, there is a LICENSE.txt file at the root of my project (in case anyone
> thought a missing default header file would affect this), and the checkstyle
> report properly flags missing headers.]
> pom.xml showing the problem is attached.
> (Maybe related to MCHECKSTYLE-99 ?)
> Dan Rollo
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)