From 7a339f2e16e9ca037d93de30df1d113662023e73 Mon Sep 17 00:00:00 2001 From: Athou Date: Sat, 25 May 2013 15:54:19 +0200 Subject: [PATCH] trying to make openshift build faster --- .openshift/action_hooks/pre_build_jbosseap-6.0 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.openshift/action_hooks/pre_build_jbosseap-6.0 b/.openshift/action_hooks/pre_build_jbosseap-6.0 index 4af3de2b..f711b063 100755 --- a/.openshift/action_hooks/pre_build_jbosseap-6.0 +++ b/.openshift/action_hooks/pre_build_jbosseap-6.0 @@ -3,4 +3,5 @@ # your application. This script can be used to modify the Maven build # arguments for non-CI/Jenkins builds by exporting MAVEN_ARGS. The default # is "clean package -Popenshift -DskipTests" -export MAVEN_ARGS="clean package -Popenshift -Pprod -DskipTests=true" \ No newline at end of file +export MAVEN_ARGS="clean package -Popenshift -Pprod -DskipTests=true" +export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m" \ No newline at end of file