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

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

Evidence to support your hunch
{noformat}
tkurc@computer:~/nifi/nifi-api$ mvn checkstyle:checkstyle 
-Dcheckstyle.config.location=file:////home/tkurc/cs.rules 
-Dcheckstyle.consoleOutput=true
[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:checkstyle (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] Unable to locate Source XRef to link to - DISABLED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.199 s
[INFO] Finished at: 2015-10-21T23:21:50-04:00
[INFO] Final Memory: 35M/684M
[INFO] ------------------------------------------------------------------------

tkurc@computer:~/nifi/nifi-api$ mvn checkstyle:check 
-Dcheckstyle.config.location=file:////home/tkurc/cs.rules 
-Dcheckstyle.consoleOutput=true -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).
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.583 s
[INFO] Finished at: 2015-10-21T23:30:04-04:00
[INFO] Final Memory: 22M/265M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.15:check (default-cli) on 
project nifi-api: You have 2 Checkstyle violations. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{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