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
This commit is contained in:
parent
a3aa8fc6ad
commit
8b71d56274
@ -93,7 +93,11 @@
|
|||||||
<j:if test="${context.getVariable('maven.test.compile.compilerargs') != null}">
|
<j:if test="${context.getVariable('maven.test.compile.compilerargs') != null}">
|
||||||
<compilerarg line="${maven.test.compile.compilerargs}" />
|
<compilerarg line="${maven.test.compile.compilerargs}" />
|
||||||
</j:if>
|
</j:if>
|
||||||
|
|
||||||
|
<j:if test="${context.getVariable('maven.test.compile.memoryMaximumSize') != null}">
|
||||||
|
<setProperty name="memoryMaximumSize" value="${maven.test.compile.memoryMaximumSize}" />
|
||||||
|
</j:if>
|
||||||
|
|
||||||
<j:if test="${context.getVariable('maven.test.compile.encoding') != null}">
|
<j:if test="${context.getVariable('maven.test.compile.encoding') != null}">
|
||||||
<setProperty name="encoding" value="${maven.test.compile.encoding}" />
|
<setProperty name="encoding" value="${maven.test.compile.encoding}" />
|
||||||
</j:if>
|
</j:if>
|
||||||
|
|||||||
@ -46,3 +46,4 @@ maven.test.compile.fork = ${maven.compile.fork}
|
|||||||
maven.test.compile.source = ${maven.compile.source}
|
maven.test.compile.source = ${maven.compile.source}
|
||||||
maven.test.compile.target = ${maven.compile.target}
|
maven.test.compile.target = ${maven.compile.target}
|
||||||
maven.test.compile.verbose = ${maven.compile.verbose}
|
maven.test.compile.verbose = ${maven.compile.verbose}
|
||||||
|
maven.test.compile.memoryMaximumSize = ${maven.compile.memoryMaximumSize}
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
<pomVersion>3</pomVersion>
|
<pomVersion>3</pomVersion>
|
||||||
<id>maven-test-plugin</id>
|
<id>maven-test-plugin</id>
|
||||||
<name>Maven Test Plugin</name>
|
<name>Maven Test Plugin</name>
|
||||||
<currentVersion>1.8.2</currentVersion>
|
<currentVersion>1.8.3-SNAPSHOT</currentVersion>
|
||||||
<description>Run JUnit tests.</description>
|
<description>Run JUnit tests.</description>
|
||||||
<shortDescription>Run JUnit tests</shortDescription>
|
<shortDescription>Run JUnit tests</shortDescription>
|
||||||
<versions>
|
<versions>
|
||||||
|
|||||||
@ -24,6 +24,11 @@
|
|||||||
<author email="dion@multitask.com.au">dIon Gillard</author>
|
<author email="dion@multitask.com.au">dIon Gillard</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
|
<release version="1.8.3-SNAPSHOT" date="in SVN">
|
||||||
|
<action dev="jjensen" type="add" issue="MPTEST-76">
|
||||||
|
Add maven.test.compile.memoryMaximumSize property to enable solving compile OutOfMemory errors with large test sets.
|
||||||
|
</action>
|
||||||
|
</release>
|
||||||
<release version="1.8.2" date="2007-05-23">
|
<release version="1.8.2" date="2007-05-23">
|
||||||
<action dev="ltheussl" type="fix">
|
<action dev="ltheussl" type="fix">
|
||||||
<description>Memory leak and performance degradation in test plugin 1.8.</description>
|
<description>Memory leak and performance degradation in test plugin 1.8.</description>
|
||||||
|
|||||||
@ -167,6 +167,22 @@ maven.junit.jvmargs=-Xmx160m -verbose]]></source>
|
|||||||
Defaults to ${maven.compile.fork}.
|
Defaults to ${maven.compile.fork}.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>maven.test.compile.memoryMaximumSize</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td>
|
||||||
|
<p>
|
||||||
|
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}.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Corresponds to the <code>memoryMaximumSize</code> attribute for the ant
|
||||||
|
<a href="http://ant.apache.org/manual/CoreTasks/javac.html">javac</a>
|
||||||
|
task.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>maven.test.compile.source</td>
|
<td>maven.test.compile.source</td>
|
||||||
<td>Yes</td>
|
<td>Yes</td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user