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

This commit is contained in:
Jan Hentschel 2017-12-10 19:06:16 +01:00
parent ec7bf57390
commit df351e4035
1 changed files with 21 additions and 0 deletions

View File

@ -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>