maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Luo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MCHECKSTYLE-334) "mvn install site" works differently than "mvn install" or "mvn site"
Date Wed, 18 Jan 2017 19:28:26 GMT
Frank Luo created MCHECKSTYLE-334:
-------------------------------------

             Summary: "mvn install site" works differently than "mvn install" or "mvn site"
                 Key: MCHECKSTYLE-334
                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-334
             Project: Maven Checkstyle Plugin
          Issue Type: Bug
          Components: checkstyle:checkstyle
    Affects Versions: 2.17
         Environment: both windows/linux
            Reporter: Frank Luo


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message