Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-224

Warning about missing XRef for module with no files to check

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            dennisl@apache.org Dennis Lundberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: