On 12/7/06, Davis Ford <[EMAIL PROTECTED]> wrote:
Hi, we use JUnit 4.1 in eclipse, but when we run the tests from the
cmd line with mvn, it seems to fail and not use JUnit 4.1 but it uses
the old 3.8.1.
Is there some way to force mvn to use JUnit 4.1?
In general, add a <dependency> on the junit version you want it to use.
However, as Any mentioned, JUnit 4 features aren't supported yet.
Google turned this up. I haven't tried it.
http://wiki.unto.net/Maven_JUnit4_plugin
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]