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:42:37 UTC

hbase git commit: HBASE-19480 Enabled Checkstyle to fail on violations in hbase-annotations

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


HBASE-19480 Enabled Checkstyle to fail on violations in hbase-annotations


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

Branch: refs/heads/master
Commit: df351e4035df0f8db56245ea9cf54952874294ca
Parents: ec7bf57
Author: Jan Hentschel <ja...@ultratendency.com>
Authored: Sun Dec 10 19:06:16 2017 +0100
Committer: Jan Hentschel <ja...@ultratendency.com>
Committed: Tue Dec 19 21:35:54 2017 +0100

----------------------------------------------------------------------
 hbase-annotations/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/df351e40/hbase-annotations/pom.xml
----------------------------------------------------------------------
diff --git a/hbase-annotations/pom.xml b/hbase-annotations/pom.xml
index 8165fbd..86eb313 100644
--- a/hbase-annotations/pom.xml
+++ b/hbase-annotations/pom.xml
@@ -30,4 +30,25 @@
   <artifactId>hbase-annotations</artifactId>
   <name>Apache HBase - Annotations</name>
   <description>Annotations for tests</description>
+
+  <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>