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
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
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
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
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
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