[ 
https://issues.apache.org/jira/browse/YETUS-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14968451#comment-14968451
 ] 

Tony Kurc commented on YETUS-116:
---------------------------------

but it appears that behavior can be overridden:
{noformat}
tkurc@computer:~/nifi/nifi-api$ mvn checkstyle:check 
-Dcheckstyle.config.location=file:////home/tkurc/cs.rules 
-Dcheckstyle.consoleOutput=true -Dcheckstyle.failOnViolation=false 
-Dcheckstyle.violationSeverity=warning
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with 
nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building nifi-api 0.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.15:check (default-cli) @ nifi-api ---
[INFO] Starting audit...
/home/tkurc/nifi/nifi-api/src/main/java/org/apache/nifi/web/Revision.java:44: 
warning: Line has trailing whitespace.
/home/tkurc/nifi/nifi-api/src/main/java/org/apache/nifi/web/Revision.java:44: 
warning: Line is longer than 200 characters (found 567).
Audit done.
[WARNING] src/main/java/org/apache/nifi/web/Revision.java[44] (regexp) 
RegexpSinglelineJava: Line has trailing whitespace.
[WARNING] src/main/java/org/apache/nifi/web/Revision.java[44] (sizes) 
LineLength: Line is longer than 200 characters (found 567).
[WARNING] checkstyle:check violations detected but failOnViolation set to false
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.771 s
[INFO] Finished at: 2015-10-21T23:32:04-04:00
[INFO] Final Memory: 22M/268M
[INFO] ------------------------------------------------------------------------
{noformat}

> Investigate checkstyle:check goal for checkstyle plugin
> -------------------------------------------------------
>
>                 Key: YETUS-116
>                 URL: https://issues.apache.org/jira/browse/YETUS-116
>             Project: Yetus
>          Issue Type: Task
>          Components: Test Patch
>            Reporter: Tony Kurc
>            Assignee: Tony Kurc
>            Priority: Minor
>
> From a discussion on the dev mailing list 
> (https://mail-archives.apache.org/mod_mbox/yetus-dev/201510.mbox/%3CCAN5cbe4Z%3DgKzX5XbmK1FE8aAt5d3fwN0Yi0N7WtP40rY2fqZBg%40mail.gmail.com%3E)
>  checkstyle:check goal may provide some benefits for the checkstyle plugin 
> over checkstyle:checkstyle. 



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

Reply via email to