Since cobertura runs within the surefire-plugin's forked JDK, I would first advise you to add some
memory to the surefire-plugin, as follows:

<!-- Surefire configuration parameters, defined as a pom property. -->
<surefire.argLine>-Dfile.encoding=UTF-8 -Xmx1024m -XX:MaxPermSize=512m</surefire.argLine>

... and then, as a pluginManagement entry:

                <!--
                    Configures the maven surefire plugin, which runs the unit tests invoking JUnit.

                    Why:  Supply required encoding (UTF-8), as well as memory sizing definitions.
                    Used: Standard lifecycle, mvn test.
                -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.15</version>
                    <configuration>
                        <argLine>${surefire.argLine}</argLine>
                        <detail>true</detail>
                    </configuration>
                </plugin>

Presumably, you have already tested this - but if not, I recommend this approach first.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to