From 002d3bd85de4fff2c21d46fc2c7401560dfe3a98 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 10 Sep 2015 15:23:20 +0200 Subject: [PATCH] Add fast profile Checkstyle and animal sniffer takes a significant amount of time when building the project. Add a "fast" profile that flips the `disable.checks` property. Can be enabled either via `-Pfast` or `-Ddisable.checks=true`. See gh-3928 --- spring-boot-parent/pom.xml | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/spring-boot-parent/pom.xml b/spring-boot-parent/pom.xml index 196a92cd72..074e4711e1 100755 --- a/spring-boot-parent/pom.xml +++ b/spring-boot-parent/pom.xml @@ -19,6 +19,7 @@ .. + false 1.6 1.0.2.v20150114 UTF-8 @@ -438,6 +439,7 @@ checkstyle-validation validate + ${disable.checks} src/checkstyle/checkstyle.xml src/checkstyle/checkstyle-suppressions.xml src/checkstyle/checkstyle-header.txt @@ -562,6 +564,7 @@ org.codehaus.mojo animal-sniffer-maven-plugin + ${disable.checks} org.codehaus.mojo.signature java16 @@ -638,6 +641,63 @@ + + fast + + + fast + + + + true + + + + spring-ext + http://repo.spring.io/ext-release-local/ + + true + + + false + + + + spring-milestones + Spring Milestones + http://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + http://repo.spring.io/snapshot + + true + + + + + + spring-milestones + Spring Milestones + http://repo.spring.io/milestone + + false + + + + spring-snapshots + Spring Snapshots + http://repo.spring.io/snapshot + + true + + + + eclipse.profile