maven-site-plugin
Daniel Fisher
dfisher at vt.edu
Tue Mar 5 11:58:36 EST 2013
On Tue, Mar 5, 2013 at 10:46 AM, Rod Widdowson <rdw at steadingsoftware.com>wrote:
> Anyone of the devs out there understand the magicke involved with running
> "mvn site"?
>
> I just tried to get code coverage by running the "mvn site -P release" and
> it just blew away maven complaining that something called System.exit().
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.1:site (default-site) on
> project idp-attribute-resolver-impl: failed to get report for
> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
> on
> project idp-attribute-resolver-impl: Execution default-test of goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The
> forked VM terminated without saying properly goodbye. VM crash or
> System.exit called ? -> [Help 1]
>
> I thought it might be something I had added so I reverted all my new code
> and it still fails. (it is always attribute-resolution-impl that fails,
> other subprojects are fine).
>
> If I have to I'll swap in all this stuff and do the diagnosis, but it would
> be loads faster if someone knew what was going on under the hood....
>
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>
...
--DF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20130305/1dea042f/attachment.html
More information about the dev
mailing list