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

Source and resource directory's basedir is not stripped in report

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 2.11
    • Fix Version/s: None
    • Component/s: checkstyle:checkstyle
    • Labels:
      None

      Description

      Basedirs are not stripped and full path is written to the report table, e.g. src/main/java/org... where it should read {{org/...}]. This consumes more space and more over, JXR links are broken.

      The PMD plugin solves this issue by

      this.currentFilename =
                      StringUtils.substring( currentFilename, fileInfo.getSourceDirectory().getAbsolutePath().length() + 1 );
      

      as seen in here.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michael-o Michael Osipov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: