[jbpm-commits] JBoss JBPM SVN: r2165 - in jbpm3/trunk: modules/core and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Sep 10 10:12:02 EDT 2008
Author: thomas.diesler at jboss.com
Date: 2008-09-10 10:12:01 -0400 (Wed, 10 Sep 2008)
New Revision: 2165
Modified:
jbpm3/trunk/hudson/hudson-home/command.sh
jbpm3/trunk/modules/core/pom.xml
Log:
Another attempt to fix the OOM error
Modified: jbpm3/trunk/hudson/hudson-home/command.sh
===================================================================
--- jbpm3/trunk/hudson/hudson-home/command.sh 2008-09-10 13:02:58 UTC (rev 2164)
+++ jbpm3/trunk/hudson/hudson-home/command.sh 2008-09-10 14:12:01 UTC (rev 2165)
@@ -9,9 +9,6 @@
JBPMDIR=$WORKSPACE/jbpm
DISTRODIR=$JBPMDIR/modules/distribution/target
-# Give Maven some more heap
-export MAVEN_OPTS=-Xmx512m
-
case "$CONTAINER" in
jboss422*)
JBOSS_BUILD=jboss-4.2.2.GA
Modified: jbpm3/trunk/modules/core/pom.xml
===================================================================
--- jbpm3/trunk/modules/core/pom.xml 2008-09-10 13:02:58 UTC (rev 2164)
+++ jbpm3/trunk/modules/core/pom.xml 2008-09-10 14:12:01 UTC (rev 2165)
@@ -25,12 +25,14 @@
<version>3.3.0-SNAPSHOT</version>
</parent>
+ <!-- Properties -->
+ <properties>
+ <surefire.jvm.args>-Xmx512m</surefire.jvm.args>
+ </properties>
+
<!-- Dependencies -->
<dependencies>
<!-- jBPM Dependencies -->
- <!--
- dependency> <groupId>org.jboss.jbpm</groupId> <artifactId>jbpm-api</artifactId> <version>${version}</version> </dependency
- -->
<!-- Compile Dependencies -->
<dependency>
@@ -152,6 +154,12 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <argLine>${surefire.jvm.args}</argLine>
+ </configuration>
+ </plugin>
</plugins>
</build>
More information about the jbpm-commits
mailing list