You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-users@maven.apache.org by James Neal <jn...@tripwire.com> on 2011/04/20 19:11:11 UTC

selecting a provider?

Has anyone managed to force surefire to use a specific junit provider, as described on this page?

http://maven.apache.org/plugins/maven-surefire-plugin/examples/providers.html

I have been trying to do this (to force the use of the junit47 provider) and maven keeps complaining
that my pom is malformed and that the <dependencies> tag is not allowed inside of a <plugin> block.
I'm using version 2.2 of Maven which I think is fairly recent?

waters:~ # mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_17
Java home: /usr/java/jdk1.6.0_17/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.16.46-0.12-smp" arch: "i386" Family: "unix"