hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject hbase git commit: HBASE-19481 Enabled Checkstyle to fail on violations in hbase-error-prone
Date Tue, 19 Dec 2017 20:23:40 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 d111b17c3 -> 30cb5184d


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/30cb5184
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/30cb5184
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/30cb5184

Branch: refs/heads/branch-2
Commit: 30cb5184d78c3a6dc3ffc6d23d6678f0af310380
Parents: d111b17
Author: Jan Hentschel <jan.hentschel@ultratendency.com>
Authored: Sun Dec 10 21:46:13 2017 +0100
Committer: Jan Hentschel <jan.hentschel@ultratendency.com>
Committed: Tue Dec 19 21:19:21 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/30cb5184/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 5cec07d..1f7fcab 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


Mime
View raw message