Disable incremental build by default

This commit is contained in:
pivovarit 2017-02-09 21:17:29 +01:00
parent 57d5278707
commit ae3ee2150f
2 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
language: java
install: travis_wait 40 mvn -q clean install --activate-profiles incremental
install: travis_wait 40 mvn -q clean install --activate-profiles incremental-enabled
jdk:
- oraclejdk8

12
pom.xml
View File

@ -12,7 +12,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gib.referenceBranch>refs/heads/master</gib.referenceBranch>
<gib.enabled>false</gib.enabled>
</properties>
<modules>
@ -200,11 +199,20 @@
<profiles>
<profile>
<id>incremental</id>
<id>incremental-enabled</id>
<properties>
<gib.enabled>true</gib.enabled>
</properties>
</profile>
<profile>
<id>incremental-disabled</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gib.enabled>false</gib.enabled>
</properties>
</profile>
</profiles>