[ https://issues.apache.org/jira/browse/HBASE-19481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hentschel updated HBASE-19481: ---------------------------------- Attachment: BREAKING-HBASE-19481.master.001.patch [~appy] Added a patch which shows how to break the Checkstyle run. When running {{mvn clean install -DskipTests}} this will result into the following {code} [INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ hbase-error-prone --- [INFO] There is 1 error reported by Checkstyle 6.18 with hbase/checkstyle.xml ruleset. [ERROR] src/main/java/org/apache/hadoop/hbase/errorprone/AlwaysPasses.java:[22] (imports) ImportOrder: Wrong order for 'com.google.auto.service.AutoService' import. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.046 s [INFO] Finished at: 2017-12-17T14:45:32+01:00 [INFO] Final Memory: 19M/199M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle) on project hbase-error-prone: You have 1 Checkstyle violation. -> [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 {code} > Enable Checkstyle in hbase-error-prone > -------------------------------------- > > Key: HBASE-19481 > URL: https://issues.apache.org/jira/browse/HBASE-19481 > Project: HBase > Issue Type: Sub-task > Reporter: Jan Hentschel > Assignee: Jan Hentschel > Priority: Trivial > Attachments: BREAKING-HBASE-19481.master.001.patch, > HBASE-19481.master.001.patch > > > *hbase-error-prone* doesn't contain any Checkstyle errors. With that > Checkstyle can now be configured to fail on violations. -- This message was sent by Atlassian JIRA (v6.4.14#64029)