set permgen size in surefire plugin to prevent oome permgen error

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1418234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2012-12-07 09:40:15 +00:00
parent 4c77e91a19
commit d8ef1847ef
1 changed files with 1 additions and 0 deletions

View File

@ -507,6 +507,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xmx1024m -Xms512m -XX:MaxPermSize=256m</argLine>
<systemPropertyVariables>
<appserver.base>${project.build.directory}/appserver-base</appserver.base>
<plexus.home>${project.build.directory}/appserver-base</plexus.home>