Reinstate support for disabling build checking

Closes gh-13291
This commit is contained in:
Phillip Webb
2018-05-30 13:24:06 -07:00
parent 4d84933ee4
commit 2bfcefa48e
2 changed files with 22 additions and 0 deletions

View File

@@ -509,6 +509,9 @@
<executions>
<execution>
<phase>validate</phase>
<configuration>
<skip>${disable.checks}</skip>
</configuration>
<goals>
<goal>validate</goal>
</goals>
@@ -523,6 +526,7 @@
<id>checkstyle-validation</id>
<phase>validate</phase>
<configuration>
<skip>${disable.checks}</skip>
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>