Re: Maven 2 and java 1.5 Annotations

2006-06-15 Thread gilles_gty
is a way to tell Surefire to use JUnit 4.0 for running the tests as opposed to an older version ? Regards Gilles -- View this message in context: http://www.nabble.com/Maven-2-and-java-1.5-Annotations-t1307356.html#a4884157 Sent from the Maven - Users forum a

Re: Maven 2 and java 1.5 Annotations

2006-06-15 Thread Eric Redmond
; >> >> Thorsten >> -BEGIN PGP SIGNATURE- >> Version: GnuPG v1.4.2.2 (MingW32) >> >> iD8DBQFEHoc8QvObkgCcDe0RAjX7AKDrghITbKicv74t9DMgrpH0Cp/+zACeKuID >> FiT2nc06AtOiF3bjdmLO+pY= >> =dgTh >> -----END PGP SIGNATURE- >> >> ---

Re: Maven 2 and java 1.5 Annotations

2006-06-15 Thread gilles_gty
=dgTh >> -----END PGP SIGNATURE----- >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Maven-2-and-java-1.5-Annotations-t1307356.html#a4880333 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven 2 and java 1.5 Annotations

2006-03-20 Thread Wayne Fay
Brett can probably comment more on this, as I believe he has been working on this (Surefire) a bit lately, but I believe the comment "test plugin doesn't use 4.0 (yet)" is probably along the right lines. There's probably a Maven JIRA you could find and watch so you'd know when JUnit 4.0 is fully i

Re: Maven 2 and java 1.5 Annotations

2006-03-20 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Hello Subhash, > Thanks a lot it works. You have probably more experience than me with > JUnit 4 and maven. I would ask you another question. I have written my > test class as described in the cookbook (for 4.0) by Kent Beck, Erich > Gamma on th

Re: Maven 2 and java 1.5 Annotations

2006-03-19 Thread Gianfranco Oldani
To: "Maven Users List" Subject: Re: Maven 2 and java 1.5 Annotations Date: Mon, 20 Mar 2006 00:13:15 +0530 Your pom.xml: ... org.apache.maven.plugins maven-compiler-plugin

Re: Maven 2 and java 1.5 Annotations

2006-03-19 Thread Wendy Smoak
On 3/19/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > Hi all, > I use maven 2 and it need to compile sources with annotations (JUnit 4.0 > annotations) and I get always this message: > > notations are not supported in -source 1.3 > (try -source 1.5 to enable annotations) > @Before public v

Re: Maven 2 and java 1.5 Annotations

2006-03-19 Thread Subhash Chandran
Your pom.xml: ... org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 ... ... And verify that in ur PATH environment variable u have JDK 1.5 bin folder.

Maven 2 and java 1.5 Annotations

2006-03-19 Thread Gianfranco Oldani
Hi all, I use maven 2 and it need to compile sources with annotations (JUnit 4.0 annotations) and I get always this message: notations are not supported in -source 1.3 (try -source 1.5 to enable annotations) @Before public void setUp() I use JDK 1.5.0_04. Somebody can help? Thanks for help