As I remembered, apart from having Junit dependecy being 4.x, you should also make sure the Surefire plugin is at least 2.3. Older version of surefire plugin seems unable to kick off junit4 test cases
Adrian -----Original Message----- From: ben short [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 4:46 PM To: Maven Users List Subject: Re: Using Junit4 with Maven I use JUnit 4.4 with Maven 2.0.8 and havent had any problems. Just change the JUnit version in your pom. Regards Ben On Tue, Mar 11, 2008 at 2:47 AM, Nitin Agrawal <[EMAIL PROTECTED]> wrote: > Dear Sir/Madam, > > We would like to use JUnit4 in our projects, and we were already > using Maven 2.0.9. Currently we are using JUnit 3.8.1. Is there a way > that we can start using JUnit4 with the release version on Maven. We > would not like to go with the snapshot version. But, kindly let me > know if that is an option. > > I look forward to hear from you. > > -- > Regards, > > Nitin Agrawal. > Abode : 814 Timbercreek Way, #704, Salt Lake City, UT-84119 > Voice: (408) 513 5700 [Cell] > Internet: [EMAIL PROTECTED] / [EMAIL PROTECTED] "The secret > of success in life is for a man to be ready for his time when it > comes. -Benjamin Disraeli" > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or copying of this email is prohibited. Taifook Securities Group, its group companies and their content providers ("Parties") shall not be responsible for the accuracy or completeness of this email or its attachment, if any, which could contain virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive late. The Parties do not accept liability for any damage caused by this email. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
