users@glassfish.java.net

Re: Embedded testing woes

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Apr 2010 14:05:29 PDT

A last note here, kindly provided to me by the Maven developers list.

For those needing to leave their <forkMode>always</forkMode>, you can work around the classloading problem by having a look at http://maven.apache.org/plugins/maven-surefire-plugin/examples/class-loading.html. Setting <useManifestOnlyJar> to false did the trick, with the drawback being if you have a big classpath it might not "fit" on the command line.

Best,
Laird
[Message sent by forum member 'ljnelson']

http://forums.java.net/jive/thread.jspa?messageID=396010