将单元测试fork独立的JVM来跑。避免少数情况默认maven开的JVM堆太小。

pull/23/head
Linker Lin 12 years ago
parent ac4cd39170
commit 2e8cf0a3dd

@ -108,6 +108,14 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<argLine>-Xms1024m -Xmx1024m -Xss1m </argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>

Loading…
Cancel
Save