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

"mvn install site" works differently than "mvn install" or "mvn site"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.17
    • Fix Version/s: None
    • Component/s: checkstyle:checkstyle
    • Labels:
    • Environment:
      both windows/linux

      Description

      I am trying to ignore files in the dir of "target/generated-sources". So I have "<excludes>*/generated-sources//</excludes>" in configure.

      When I do "mvn install" or "mvn site", checkstyle has no complains.

      But when I run "mvn install site", I got a ton of complains from "generated-sources" dir.

      Here is a sample:

      C:\work\project\atlas\trunk\atlas_reformat_engine\target\generated-sources\config\com\merkleinc\atlas\reformat\config\Rule.java:157: error: Do not use Windows line endings

      Please help

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              frankluo Frank Luo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: