One option would be to override the test goal in maven.xml and have it run testng instead.
-----Original Message----- From: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 3:14 PM To: Maven Users List Subject: Re: Maven Test Plug-in 1.7 release There's no support now. You should check surefire, IIRC it'll be backported from maven2 to maven 1.x. http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/m aven-surefire-plugin/ On 8/9/05, Mike Perham <[EMAIL PROTECTED]> wrote: > Carlos, is there any plan to allow different test frameworks? I have > several projects which use Junit and several which use TestNG. I want > 'maven jar' to run the unit tests no matter which framework is in use, > but this only works with junit obviously. I have to explicitly call > "maven testng" to make it work. Can maven support this out of the box > today or is this something that the test plugin needs to add support > for? > > mike > > -----Original Message----- > From: Carlos Sanchez [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 09, 2005 3:49 PM > To: Maven Developers List; Maven Users List > Subject: Maven Test Plug-in 1.7 release > > The maven team is pleased to announce the Maven Test Plug-in 1.7 > release! > > http://maven.apache.org/reference/plugins/test/ > > Run JUnit tests. > > Changes in this version include: > > New Features: > > o Added maven.junit.forkmode property > o Added testnotmatchpattern that can be used in test:match > > Fixed bugs: > > o Deprecated testmatch property by testmatchpattern to allow more > complex > patterns in test:match Issue: MPTEST-48. > > Changes: > > o Allow multiple patterns in testmatchpattern and testnotmatchpattern > o Deprecate dependency handle > > To automatically install the plugin, type the following on a single > line: > > maven plugin:download > -DgroupId=maven > -DartifactId=maven-test-plugin > -Dversion=1.7 > > For a manual installation, you can download the plugin here: > http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/mav > en > -test-plugin-1.7.jar > > > Have fun! > -The maven team > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]