You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Henrik Mejlgaard <hm...@gmail.com> on 2006/02/19 22:02:16 UTC

Specifying -Xmx in surefire plugin?

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

Re: Specifying -Xmx in surefire plugin?

Posted by Roland Kofler <ro...@systemone.at>.
thanks man,
I've the same problem

Roland

Henrik Mejlgaard schrieb:
> 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 <hm...@gmail.com> 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
>>
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Specifying -Xmx in surefire plugin?

Posted by Henrik Mejlgaard <hm...@gmail.com>.
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 <hm...@gmail.com> 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
>