Maven Test Plug-in 1.7 release

2005-08-09 Thread Carlos Sanchez
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/maven-test-plugin-1.7.jar
 

Have fun!
-The maven team

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven Test Plug-in 1.7 release

2005-08-09 Thread Mike Perham
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/maven
-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]



Re: Maven Test Plug-in 1.7 release

2005-08-09 Thread Carlos Sanchez
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/maven-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/maven
 -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]



RE: Maven Test Plug-in 1.7 release

2005-08-09 Thread David Jackman
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]



Re: Maven Test Plug-in 1.7 release

2005-08-09 Thread Jamie Bisotti
On 8/9/05, David Jackman [EMAIL PROTECTED] wrote:
 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]
 
 

'maven.junit.forkmode' only works in 1.1, not 1.0.2, correct?

-- 
Jamie Bisotti

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven Test Plug-in 1.7 release

2005-08-09 Thread Brett Porter
Correct (we've just discussed this on the dev list, and Carlos is
going to document it).

- Brett

On 8/10/05, Jamie Bisotti [EMAIL PROTECTED] wrote:
 On 8/9/05, David Jackman [EMAIL PROTECTED] wrote:
  One option would be to override the test goal in maven.xml and have it
  run testng instead.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]