Mercurial > hg > thermostat-ng > web-gateway
changeset 190:cef59083f9a7
Add surefire argline and increase perm gen space
Reviewed-by: neugens, jerboaa
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-July/023996.html
author | Jie Kang <jkang@redhat.com> |
---|---|
date | Fri, 07 Jul 2017 08:24:57 -0400 |
parents | 8b2b1bf32131 |
children | fb8a7d310fbc |
files | pom.xml |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pom.xml Thu Jun 29 10:12:07 2017 -0400 +++ b/pom.xml Fri Jul 07 08:24:57 2017 -0400 @@ -78,8 +78,23 @@ <maven.itest.skip>false</maven.itest.skip> <maven.ptest.skip>true</maven.ptest.skip> + + <!-- Intentionally empty. See java-7 profile --> + <surefire.argline></surefire.argline> </properties> + <profiles> + <profile> + <id>java-7</id> + <activation> + <jdk>1.7</jdk> + </activation> + <properties> + <surefire.argline>-XX:-UseSplitVerifier -XX:MaxPermSize=256m</surefire.argline> + </properties> + </profile> + </profiles> + <build> <pluginManagement> <plugins> @@ -104,6 +119,9 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.20</version> + <configuration> + <argLine>${surefire.argline}</argLine> + </configuration> </plugin> </plugins> </pluginManagement>