Thanks for your help. I am seriously considering abandoning maven and going back to ant. The benefits do not seem to outweigh the drawbacks.
David Jackman wrote: > > I actually spent quite a bit of time trying to get this exact thing to > work. The problem here is that you need the dependencies of jmockit to > be on the surefire classpath when it's started up, but surefire provides > no way to do this. I even tried creating my own jar with the jmockit > classes and the dependency classes together so I could make that the > javaagent jar, but that was unsuccessful as well. > > I finally found a way to get my tests to work without jmockit. I was > never able to get a javaagent to work with surefire. > http://jira.codehaus.org/browse/SUREFIRE-298 is already present to > address this issue (and it contains information about a workaround you > can do in the meantime). > > ..David.. > -- View this message in context: http://www.nabble.com/maven-and-jmockit%2C-problem-with--javaagent-jvm-arg-tf3675075s177.html#a10270394 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
