HBASE-19480 Enabled Checkstyle to fail on violations in hbase-annotations
This commit is contained in:
parent
ec7bf57390
commit
df351e4035
|
@ -30,4 +30,25 @@
|
||||||
<artifactId>hbase-annotations</artifactId>
|
<artifactId>hbase-annotations</artifactId>
|
||||||
<name>Apache HBase - Annotations</name>
|
<name>Apache HBase - Annotations</name>
|
||||||
<description>Annotations for tests</description>
|
<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>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue