Reinstate support for disabling build checking
Closes gh-13291
This commit is contained in:
parent
4d84933ee4
commit
2bfcefa48e
|
@ -509,6 +509,9 @@
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
|
<configuration>
|
||||||
|
<skip>${disable.checks}</skip>
|
||||||
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>validate</goal>
|
<goal>validate</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
@ -523,6 +526,7 @@
|
||||||
<id>checkstyle-validation</id>
|
<id>checkstyle-validation</id>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<skip>${disable.checks}</skip>
|
||||||
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
|
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
|
||||||
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
||||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
<main.basedir>${basedir}/..</main.basedir>
|
<main.basedir>${basedir}/..</main.basedir>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<spring-javaformat.version>0.0.2</spring-javaformat.version>
|
<spring-javaformat.version>0.0.2</spring-javaformat.version>
|
||||||
|
<disable.checks>false</disable.checks>
|
||||||
</properties>
|
</properties>
|
||||||
<modules>
|
<modules>
|
||||||
<module>spring-boot-sample-ant</module>
|
<module>spring-boot-sample-ant</module>
|
||||||
|
@ -132,6 +133,9 @@
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
|
<configuration>
|
||||||
|
<skip>${disable.checks}</skip>
|
||||||
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>validate</goal>
|
<goal>validate</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
@ -159,6 +163,7 @@
|
||||||
<id>checkstyle-validation</id>
|
<id>checkstyle-validation</id>
|
||||||
<phase>validate</phase>
|
<phase>validate</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<skip>${disable.checks}</skip>
|
||||||
<configLocation>../spring-boot-parent/src/checkstyle/checkstyle.xml</configLocation>
|
<configLocation>../spring-boot-parent/src/checkstyle/checkstyle.xml</configLocation>
|
||||||
<suppressionsLocation>../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
<suppressionsLocation>../spring-boot-parent/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
|
||||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||||
|
@ -328,4 +333,17 @@
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>fast</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>fast</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<disable.checks>true</disable.checks>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue