maven-site-plugin

Rod Widdowson rdw at steadingsoftware.com
Wed Mar 6 08:43:16 EST 2013


> I haven't seen this specifically, but most of my strange surefire problems
> have been cured by increasing JVM heap size.
> Since surefire tests typically fork a new JVM, you have to set the heap
size in
> the configuration block:
> 
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-surefire-plugin</artifactId>
>         <version>2.11</version>
>         <configuration>
>           <argLine>-Xms1g -Xmx2g -XX:PermSize=256m -
> XX:MaxPermSize=256m</argLine>

Thanks for this.  I played around with it last night and didn't get any
further.  Then this morning I cleaned up some old cruft (2 weeks old) from
my maven repository, did a rebuild and it is working (even with an unchanged
configuration).  I have no real idea of what might have cleared it but that
is something to watch.

Is this something we should be adding to our parent pom anyway?

Rod




More information about the dev mailing list