changeset 1406:60643e432434

Thermostat fails to build with OutOfMemoryError reviewed-by: omajid, neugens review-thread: http://icedtea.classpath.org/pipermail/thermostat/2014-May/009904.html Fixes PR1818 Configure maven-compiler-plugin to fork compile jobs and specify initial and max memory values rather than rely on system-dependent default behaviour.
author Jon VanAlten <jon.vanalten@redhat.com>
date Mon, 02 Jun 2014 10:08:04 -0600
parents 9a29868e2610
children 58bb4fce5f5c
files pom.xml
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pom.xml	Mon Mar 10 18:35:14 2014 -0400
+++ b/pom.xml	Mon Jun 02 10:08:04 2014 -0600
@@ -212,6 +212,9 @@
           <artifactId>maven-compiler-plugin</artifactId>
           <version>2.3.2</version>
           <configuration>
+            <fork>true</fork>
+            <meminitial>128m</meminitial>
+            <maxmem>1024m</maxmem>
             <source>${thermostat.java.version}</source>
             <target>${thermostat.java.version}</target>
           </configuration>