HBASE-19481 Enabled Checkstyle to fail on violations in hbase-error-prone

This commit is contained in:
Jan Hentschel 2017-12-10 21:46:13 +01:00
parent d50ae03716
commit ec7bf57390
1 changed files with 22 additions and 1 deletions

View File

@ -65,4 +65,25 @@
<scope>provided</scope>
</dependency>
</dependencies>
<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>