SoftwareEntwicklung Beratung Schulung

A coders, hackers heaven.....Hm...I do not think so...

Apache Maven Surefire Plugin Version 2.19 Released

| Comments

The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.19.

The release contains a number of bug fixes. Again we received contributions from the community in form of bug reports and bug fixes.

Thank you and keep them coming!

You should specify the version in your project’s plugin configuration:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <version>2.19</version>
</plugin>

or for failsafe:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-failsafe-plugin</artifactId>
  <version>2.19</version>
</plugin>

or for surefire-report:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-report-plugin</artifactId>
  <version>2.19</version>
</plugin>

Release Notes – Maven Surefire – Version 2.19

The release contains a number of bug fixes.

Again we received contributions from the community in form of bug reports, bug fixes, features and improvements. Thank you and keep them coming!

Summarizing new main features and bug fixing, we have introduced * new parser of test patterns, let’s call it Test Filter API, related to parameters: test, ex/includes, ex/includesFile; * a feature to interrupting the test-set after exceedded certain number of errors/failures * new Doxia Version * anchoring test class names * shutdown operations * command based communication between in-plugin and forked process * improvements in JUnit and TestNG runners * etc.

You should specify the version in your project’s plugin configuration:

org.apache.maven.plugins maven-surefire-plugin 2.19

or for failsafe:

org.apache.maven.plugins maven-failsafe-plugin 2.19

or for surefire-report:

org.apache.maven.plugins maven-surefire-report-plugin 2.19

Release Notes – Maven Surefire – Version 2.19

Bugs:

SUREFIRE-856 – Running single test in Failsafe using CLI does not override <includes> configuration SUREFIRE-919 – TestNG plugin fails to apply 'verbose' setting from TestNG.xml SUREFIRE-945 – Top of web page is pretty opaque SUREFIRE-964 – TEST-*.xml files generated by Surefire throw validation warnings in Eclipse for no grammer constraints (DTD or XML schema) referenced in the document SUREFIRE-983 – 'Running a Single Test' feature does not work as expected (for testng provider) SUREFIRE-986 – Groovy power assert incorrect indentation SUREFIRE-1024 – "verify" goal ignores "dependenciesToScan" parameter when checking tests existence SUREFIRE-1037 – Elapsed time is reported incorrectly for tests run in parallel SUREFIRE-1067 – Nested causes conflated with wrapper exception SUREFIRE-1084 – Surefire-report stack traces appear on a single line. SUREFIRE-1125 – Running multiple methods via the test property does not work in junit47 provider SUREFIRE-1126 – Discrepancy between test exclusion docs and plugin behavior SUREFIRE-1127 – Failsafe project does not fail in verify phase when a test case object errors during initialization SUREFIRE-1128 – Fix mvn 2.2.1 build process https://builds.apache.org/view/All/job/maven-surefire-mvn-2.2.1 SUREFIRE-1129 – JDK 5 should be the min requirements in surefire project SUREFIRE-1131 – Remove obsolete maven profiles SUREFIRE-1133 – Surefire Windows Build fails on OOM SUREFIRE-1136 – Current working directory propagation in forked mode SUREFIRE-1137 – Problem with Umlauts in stdout SUREFIRE-1138 – Enabling reuseForks runs all tests in series on just one fork SUREFIRE-1144 – Time for testsuite on commandline does not suit with the time SUREFIRE-1146 – rerunFailingTestsCount not working with Parameterized test SUREFIRE-1148 – JUnit Method Filter (**/Class#method) should use same syntax as "test" parameter SUREFIRE-1150 – The surefire and failsafe plugin should not be dependent on JCIP SUREFIRE-1151 – surefire/failsafe home pages should link to apache.org for issues SUREFIRE-1152 – Option rerunFailingTestsCount silently fails with test suites SUREFIRE-1154 – TestNG and JUnit should be able to run its own tests SUREFIRE-1158 – Remove startup logs of the plugin and TestNG configurator SUREFIRE-1159 – JUnit47 runner failing in parallel mode SUREFIRE-1160 – -DTest=… should be independent of execustion section SUREFIRE-1161 – Executing selected (multiple) tests of same class gives Exception SUREFIRE-1167 – Upgrade DOXIA to Version 1.6 SUREFIRE-1173 – Link to plugin's web site is reported as redirected by maven linkcheck plugin. SUREFIRE-1177 – TestNG "suitethreadpoolsize" parameter can not be set by Maven Surefire SUREFIRE-1179 – TestNG parallel options seem to not be honored SUREFIRE-1180 – Does not overrides include/exclude using -Dtest property SUREFIRE-1181 – "forkedProcessTimeoutInSeconds" does not kill forked JVM although interrupted build SUREFIRE-1182 – Surefire 2.19 rc hangs when building maven core SUREFIRE-1184 – Documentation for TestNG parameter "testnames"– see SUREFIRE-845

Improvements:

SUREFIRE-574 – additionalClasspathElements-feature improved SUREFIRE-597 – Surefire report creation fails on processing absent optional JUnit xml attributes SUREFIRE-622 – The TestNG command line option '-testrunfactory' should be supported. SUREFIRE-745 – -Dtest supports multiple test classes but not multiple test methods SUREFIRE-826 – maven-surefire-plugin does not add its own plugin dependencies to the classpath SUREFIRE-850 – Document how to run TestNG & JUnit 4 tests SUREFIRE-855 – Allow failsafe to use actual jar file instead of target/classes SUREFIRE-1065 – Allow includesFile and excludesFile parameters to be set from the commandline SUREFIRE-1155 – REFACTORING for Java 5 SUREFIRE-1162 – Upgrade maven-shared-utils to Version 0.8 SUREFIRE-1163 – Upgrade maven-verifier to Version 1.6 SUREFIRE-1174 – Concurrent RunListeners should be annotated @ThreadSafe SUREFIRE-1178 – Upgrade maven-shared-utils to Version 0.9

New Features:

SUREFIRE-131 – Excluding tests with command line pattern SUREFIRE-524 – Forked Process not terminated if maven process aborted. Provide means to clean up. SUREFIRE-580 – Allow "fail fast" or stop running on first failure SUREFIRE-1134 – Take list of tests from file (-Dtest has upper limits for comma-separated list of tests) SUREFIRE-1140 – Support anchoring all test case names

Enjoy,

-The Apache Maven team

Comments