OK, I found the answer myself.
The trick is to use the argline-tag.
I now specify:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xmx512m</argLine>
<forkMode>pertest</forkMode>
<childDelegation>true</childDelegation>
<testFailureIgnore>true</testFailureIgnore>
....
/Henrik
On 2/19/06, Henrik Mejlgaard <[EMAIL PROTECTED]> wrote:
>
> How do I specify a -Xmx property in the surefire plugin?
> I know of the system properties tag, but don't know the exact syntax for
> properties like this.
>
> TIA,
>
> Henrik
>