Check out the options on the Surefire plugin. The jvm parameter seems to be what you want. See http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#jvm .
-----Original Message----- From: Piotr Skawinski [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 12:09 PM To: Maven Users List Subject: RE: UnsupportedClassVersionError on unit test using java 1.5 I still get the same error -:(> Date: Thu, 31 May 2007 08:49:33 -0700> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Re: UnsupportedClassVersionError on unit test using java 1.5> > On 5/31/07, Piotr Skawinski <[EMAIL PROTECTED]> wrote:> > > Is it possible to specify in the pom.xml that unit test should also be executed by jdk> > 1.5 even though my JAVA_HOME points to jdk 1.4??> > This might help...> http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Differe nt+JDK+Versions> > -- > Wendy> > ---------------------------------------------------------------------> To unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]> _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&sour ce=wlmailtagline --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
