Skip to content

Commit df351e4

Browse files
committed
HBASE-19480 Enabled Checkstyle to fail on violations in hbase-annotations
1 parent ec7bf57 commit df351e4

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

hbase-annotations/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,25 @@
3030
<artifactId>hbase-annotations</artifactId>
3131
<name>Apache HBase - Annotations</name>
3232
<description>Annotations for tests</description>
33+
34+
<build>
35+
<plugins>
36+
<plugin>
37+
<groupId>org.apache.maven.plugins</groupId>
38+
<artifactId>maven-checkstyle-plugin</artifactId>
39+
<executions>
40+
<execution>
41+
<id>checkstyle</id>
42+
<phase>validate</phase>
43+
<goals>
44+
<goal>check</goal>
45+
</goals>
46+
<configuration>
47+
<failOnViolation>true</failOnViolation>
48+
</configuration>
49+
</execution>
50+
</executions>
51+
</plugin>
52+
</plugins>
53+
</build>
3354
</project>

0 commit comments

Comments
 (0)