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

The release contains 33 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

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

or for failsafe:

1
2
3
4
5

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

or for surefire-report:

1
2
3
4
5

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

Release Notes – Maven Surefire – Version 2.22.0

Bugs:

  • SUREFIRE-1383 – dependenciesToScan Does Not Leverage Classpath Elements
  • SUREFIRE-1479 – SurefireBooterForkException: The forked VM terminated without properly saying goodbye since 2.20.1
  • SUREFIRE-1498 – Surefire prints own logs “Couldn’t load group class” to native stream.
  • SUREFIRE-1503 – Forked JVM immediately crashed on Unix/Linux due to new shutdown mechanism does not turn to the old shutdown mechanism
  • SUREFIRE-1506 – Sporadic NullPointerException in ConsoleOutputFileReporter#close()
  • SUREFIRE-1512 – ProcessInfo for Windows is prone to timezone offset changes
  • SUREFIRE-1515 – Standard output write fails for empty array
  • SUREFIRE-1522 – IndexOutOfBoundsException for System.out.write

New Features:

  • SUREFIRE-1330 – JUnit 5 surefire-provider code donation
  • SUREFIRE-1495 – Encoding of TXT report file should be configured by ${project.reporting.outputEncoding} and MOJO parameter encoding

Improvement:

Tasks:

  • SUREFIRE-1487 – ParallelComputerBuilderTest fails on overloaded system because internal delay are shorter than blocking time of JVM
  • SUREFIRE-1504 – switch from Git-WIP to Gitbox
  • SUREFIRE-1510 – Jenkins CI fails due to performance of Windows break concurrency of forked JVMs
  • SUREFIRE-1518 – Upgrade version of plexus-java to 0.9.8

Enjoy,

-The Apache Maven team