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 08e948b188
commit d53e960c55
1 changed files with 22 additions and 1 deletions

View File

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