Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
Hi Everyone, I am using Java6 and have some junit 3.8.1 test cases. When I try to build I get following? I am using the 2.2 version of surefire? Is sun fire not supporting in Java6 yet? If so is there a work around for this? maven-surefire-plugin 2.2 [INFO] Surefire r

Re: Surefire And Java6

2007-01-25 Thread Kalle Korhonen
You are compiling with 1.6 but running the classes in 1.5 (or 1.4). what's your JAVA_HOME set to? Kalle On 1/25/07, Parikh, Pratik P. <[EMAIL PROTECTED]> wrote: Hi Everyone, I am using Java6 and have some junit 3.8.1 test cases. When I try to build I get following? I am using the 2.2

RE: Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
Subject: Re: Surefire And Java6 You are compiling with 1.6 but running the classes in 1.5 (or 1.4). what's your JAVA_HOME set to? Kalle On 1/25/07, Parikh, Pratik P. <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > I am using Java6 and have some junit 3.8.1 test cases. When

Re: Surefire And Java6

2007-01-25 Thread Wayne Fay
ry 25, 2007 11:52 AM To: Maven Users List Subject: Re: Surefire And Java6 You are compiling with 1.6 but running the classes in 1.5 (or 1.4). what's your JAVA_HOME set to? Kalle On 1/25/07, Parikh, Pratik P. <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > I am using Ja

RE: Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
How do one configure surefire to use Java 6 for execution. Is there a way to do it in pom? Pratik -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 2:00 PM To: Maven Users List Subject: Re: Surefire And Java6 You've only specified the

Re: Surefire And Java6

2007-01-25 Thread Wayne Fay
iginal Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 2:00 PM To: Maven Users List Subject: Re: Surefire And Java6 You've only specified the maven-compiler-plugin should use Java6. Your problem occurs when Surefire attempts to use your default Java (i

RE: Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
Thanks wayne. I found it as well. Pratik -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 2:45 PM To: Maven Users List Subject: Re: Surefire And Java6 This is covered in the m-s-p documentation. http://maven.apache.org/plugins/maven