Add "integration" profile in Maven build

By default it is on, but you can switch it
off (`-P '!integration'`) to ignore integration tests
and get a faster build.

.travis.yml uses this feature so that it doesn't keep
failing on a timeout.
This commit is contained in:
Dave Syer
2013-11-06 09:42:23 +00:00
parent dac470a8fc
commit 8cb0211dce
5 changed files with 93 additions and 63 deletions

View File

@@ -37,6 +37,14 @@
<module>spring-boot-actuator</module>
<module>spring-boot-starters</module>
<module>spring-boot-cli</module>
</modules>
</profile>
<profile>
<id>integration</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>spring-boot-integration-tests</module>
</modules>
</profile>