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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.17
    • None
    • checkstyle:checkstyle
    • 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

            Unassigned Unassigned
            frankluo Frank Luo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: