The Maven team is pleased to announce the release of the Sureire, version 2.5
This release includes the maven-surefire-plugin, which executes the
unit tests of an application, the maven-surefire-report-plugin, which
parses surefire/failsafe test results and renders them to DOXIA
creating the web interface version of the test results, as well as the
maven-failsafe-plugin, which executes the integration tests of an
application.
http://maven.apache.org/plugins/maven-surefire-plugin/http://maven.apache.org/plugins/maven-surefire-report-plugin/http://maven.apache.org/plugins/maven-failsafe-plugin/You should specify the version in your project's plugin configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.5</version>
</plugin>
Release Notes - Maven Surefire - Version 2.5
** Bug
* [SUREFIRE-502] - Specified classesDirectory is added to the end
of the classpath
* [SUREFIRE-513] - Surefire Integration Test no longer valid when
run with Maven 2.0.9+
* [SUREFIRE-529] - forkMode none deprecated but given as an
example in the debugging documentation
* [SUREFIRE-571] - Using jUnit 4, fork == always, TestSet triggers
static initiailization for all test classes in each forked process.
* [SUREFIRE-584] - Integration tests do not work during a release
* [SUREFIRE-596] - Junit test output is broken with junit4-7+
** Improvement
* [SUREFIRE-511] - Proposal to use java Map for surefire's systemProperties
* [SUREFIRE-585] - Add Swedish translation
** New Feature
* [SUREFIRE-555] - Support junit core for parallel running of tests
* [SUREFIRE-586] - Add support for Maven Toolchains
* [SUREFIRE-589] - Add a help goal
* [SUREFIRE-591] - Add maven-failsafe-plugin to surefire project
** Task
* [SUREFIRE-565] - Bump to Doxia 1.0
* [SUREFIRE-567] - Review the Doxia Sink calls
* [SUREFIRE-588] - Update to Maven Plugin Plugin 2.5.1
* [SUREFIRE-590] - Update to Maven Reporting Impl 2.0.4.3
Enjoy,
-The Maven team