[ http://jira.codehaus.org/browse/MPTEST-65?page=comments#action_79070 ]
Arnaud Heritier commented on MPTEST-65:
---------------------------------------
It's possible to use JUnit 4.x with maven 1.x :
- add Junit 4.X in your dependencies
- Use the JUnit4TestAdapter in your test classes :
/**
* @return instance of this as Junit test case
*/
public static junit.framework.Test suite()
{
return new JUnit4TestAdapter(MyTestClass.class);
}
- run maven with a jdk >= 5
> Upgrade to Junit 4.0
> --------------------
>
> Key: MPTEST-65
> URL: http://jira.codehaus.org/browse/MPTEST-65
> Project: maven-test-plugin
> Issue Type: Task
> Affects Versions: 1.8
> Reporter: Arnaud Heritier
> Assigned To: Arnaud Heritier
> Priority: Minor
>
> Upgrade to Junit 4.0
> JUnit 4.1 isn't (yet) available on ibiblio.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira