Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.12
-
None
Description
If you run mvn jxr:jxr checkstyle:checkstyle on a project that does not have any source files that should be checked, the following warning is issued:
[WARNING] Unable to locate Source XRef to link to - DISABLED
This warning can only be suppressed through configuration if we skip checkstyle for that particular project/module.
The warning is bogus though, because there are no files that Checkstyle will check, so there is no need to check for any XRef to start with.
It should be possible to delay checking for XRef until it has been determined that there are any files to be checked.