You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ja...@apache.org on 2017/12/19 20:17:36 UTC

hbase git commit: HBASE-19481 Enabled Checkstyle to fail on violations in hbase-error-prone

Repository: hbase
Updated Branches:
  refs/heads/master d50ae0371 -> ec7bf5739


HBASE-19481 Enabled Checkstyle to fail on violations in hbase-error-prone


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ec7bf573
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ec7bf573
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ec7bf573

Branch: refs/heads/master
Commit: ec7bf57390d8302598901a6e80ca710121cb5f48
Parents: d50ae03
Author: Jan Hentschel <ja...@ultratendency.com>
Authored: Sun Dec 10 21:46:13 2017 +0100
Committer: Jan Hentschel <ja...@ultratendency.com>
Committed: Tue Dec 19 21:11:55 2017 +0100

----------------------------------------------------------------------
 hbase-build-support/hbase-error-prone/pom.xml | 23 +++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/ec7bf573/hbase-build-support/hbase-error-prone/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-build-support/hbase-error-prone/pom.xml b/hbase-build-support/hbase-error-prone/pom.xml
index 067e154..b90d733 100644
--- a/hbase-build-support/hbase-error-prone/pom.xml
+++ b/hbase-build-support/hbase-error-prone/pom.xml
@@ -65,4 +65,25 @@
       <scope>provided</scope>
     </dependency>
   </dependencies>
-</project>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>checkstyle</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+            <configuration>
+              <failOnViolation>true</failOnViolation>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file