- TestNG 5.1,
- Surefire 2.3
The real important thing is to specify <classifier>jdk15</classifier> for JDK 1.5+, or <classifier>jdk14</classifier> for JDK 1.4 in your pom file. The reference can be found here
If you don't specify the classifier, it seems to run in jdk14 mode. so all of my tests using annotations didn't run with Maven.