From 8b71d562745679271b85c78a59e3ca6f83be6db3 Mon Sep 17 00:00:00 2001 From: jjensen Date: Thu, 21 Feb 2008 03:35:43 +0000 Subject: [PATCH] MPTEST-76: Add maven.test.compile.memoryMaximumSize property. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@629682 13f79535-47bb-0310-9956-ffa450edef68 --- test/plugin.jelly | 6 +++++- test/plugin.properties | 1 + test/project.xml | 2 +- test/xdocs/changes.xml | 5 +++++ test/xdocs/properties.xml | 16 ++++++++++++++++ 5 files changed, 28 insertions(+), 2 deletions(-) diff --git a/test/plugin.jelly b/test/plugin.jelly index c3262386..f50e1fa5 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -93,7 +93,11 @@ - + + + + + diff --git a/test/plugin.properties b/test/plugin.properties index de175a06..1462d501 100644 --- a/test/plugin.properties +++ b/test/plugin.properties @@ -46,3 +46,4 @@ maven.test.compile.fork = ${maven.compile.fork} maven.test.compile.source = ${maven.compile.source} maven.test.compile.target = ${maven.compile.target} maven.test.compile.verbose = ${maven.compile.verbose} +maven.test.compile.memoryMaximumSize = ${maven.compile.memoryMaximumSize} diff --git a/test/project.xml b/test/project.xml index 5a710dc8..c315ec55 100644 --- a/test/project.xml +++ b/test/project.xml @@ -23,7 +23,7 @@ 3 maven-test-plugin Maven Test Plugin - 1.8.2 + 1.8.3-SNAPSHOT Run JUnit tests. Run JUnit tests diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index 3d3ff2a3..0b80b71a 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -24,6 +24,11 @@ dIon Gillard + + + Add maven.test.compile.memoryMaximumSize property to enable solving compile OutOfMemory errors with large test sets. + + Memory leak and performance degradation in test plugin 1.8. diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index 86684696..83673faf 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -167,6 +167,22 @@ maven.junit.jvmargs=-Xmx160m -verbose]]> Defaults to ${maven.compile.fork}. + + maven.test.compile.memoryMaximumSize + Yes + +

+ Sets the maximum memory size value passed to the VM when fork is set to true. + Has no effect if fork is false. + Defaults to ${maven.compile.memoryMaximumSize}. +

+

+ Corresponds to the memoryMaximumSize attribute for the ant + javac + task. +

+ + maven.test.compile.source Yes