Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
-
Linux (but I assume it happens in all environs)
Description
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
Attachments
Attachments
Issue Links
- is related to
-
MCHECKSTYLE-100 Using <includeTestSourceDirectory> element truncates xref link to "production" (non-test) classes
- Closed
- links to