Author: jjensen Date: Wed Feb 20 19:35:43 2008 New Revision: 629682 URL: http://svn.apache.org/viewvc?rev=629682&view=rev Log: MPTEST-76: Add maven.test.compile.memoryMaximumSize property.
Modified: maven/maven-1/plugins/trunk/test/plugin.jelly maven/maven-1/plugins/trunk/test/plugin.properties maven/maven-1/plugins/trunk/test/project.xml maven/maven-1/plugins/trunk/test/xdocs/changes.xml maven/maven-1/plugins/trunk/test/xdocs/properties.xml Modified: maven/maven-1/plugins/trunk/test/plugin.jelly URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/test/plugin.jelly?rev=629682&r1=629681&r2=629682&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/test/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/test/plugin.jelly Wed Feb 20 19:35:43 2008 @@ -93,7 +93,11 @@ <j:if test="${context.getVariable('maven.test.compile.compilerargs') != null}"> <compilerarg line="${maven.test.compile.compilerargs}" /> </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}"> <setProperty name="encoding" value="${maven.test.compile.encoding}" /> </j:if> Modified: maven/maven-1/plugins/trunk/test/plugin.properties URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/test/plugin.properties?rev=629682&r1=629681&r2=629682&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/test/plugin.properties (original) +++ maven/maven-1/plugins/trunk/test/plugin.properties Wed Feb 20 19:35:43 2008 @@ -46,3 +46,4 @@ 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} Modified: maven/maven-1/plugins/trunk/test/project.xml URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/test/project.xml?rev=629682&r1=629681&r2=629682&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/test/project.xml (original) +++ maven/maven-1/plugins/trunk/test/project.xml Wed Feb 20 19:35:43 2008 @@ -23,7 +23,7 @@ <pomVersion>3</pomVersion> <id>maven-test-plugin</id> <name>Maven Test Plugin</name> - <currentVersion>1.8.2</currentVersion> + <currentVersion>1.8.3-SNAPSHOT</currentVersion> <description>Run JUnit tests.</description> <shortDescription>Run JUnit tests</shortDescription> <versions> Modified: maven/maven-1/plugins/trunk/test/xdocs/changes.xml URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/test/xdocs/changes.xml?rev=629682&r1=629681&r2=629682&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/test/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/test/xdocs/changes.xml Wed Feb 20 19:35:43 2008 @@ -24,6 +24,11 @@ <author email="[EMAIL PROTECTED]">dIon Gillard</author> </properties> <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"> <action dev="ltheussl" type="fix"> <description>Memory leak and performance degradation in test plugin 1.8.</description> Modified: maven/maven-1/plugins/trunk/test/xdocs/properties.xml URL: http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/test/xdocs/properties.xml?rev=629682&r1=629681&r2=629682&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/test/xdocs/properties.xml (original) +++ maven/maven-1/plugins/trunk/test/xdocs/properties.xml Wed Feb 20 19:35:43 2008 @@ -168,6 +168,22 @@ </td> </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> <td>maven.test.compile.source</td> <td>Yes</td> <td>