Discussion:
[ANN] Apache Maven Surefire Plugin version 2.22.1 Released
Tibor Digana
2018-10-14 19:56:39 UTC
Permalink
The Apache Maven team is pleased to announce the release of the Apache
Maven Surefire Plugin, version 2.22.1

The release contains 17 bug fixes.
Again we received contributions from the community in form of bug reports
and bug fixes.
Thank you and keep them coming!

http://maven.apache.org/plugins/maven-surefire-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.22.1</version>
</plugin>

or for failsafe:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.1</version>
</plugin>

or for surefire-report:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.22.1</version>
</plugin>


You can download the appropriate sources etc. from the download page:
https://maven.apache.org/surefire/download.cgi

Release Notes - Maven Surefire - Version 2.22.1

Bug

[SUREFIRE-1532] - MIME type for javascript is now officially
application/javascript
[SUREFIRE-1535] - Surefire unable to run testng suites in parallel
[SUREFIRE-1538] - Git considers PNG files as changed although there is
no change
[SUREFIRE-1550] - The surefire XSD published on maven site lacks of
some rerun element
[SUREFIRE-1559] - XML Report elements rerunError, rerunFailure,
flakyFailure, flakyError should contain element stackTrace and should not
be simpleContent.
[SUREFIRE-1561] - Logs in Parallel Tests are mixed up when
forkMode=never or forkCount=0
[SUREFIRE-1564] - Can't override platform version through
project/plugin dependencies
[SUREFIRE-1579] - Forks mixed up characters in standard output

Improvement

[SUREFIRE-1552] - Nil element "failureMessage" in failsafe-summary.xml
should have self closed tag
[SUREFIRE-1554] - Fix old test resources TEST-*.xml in favor of
continuing with SUREFIRE-1550
[SUREFIRE-1555] - Elapsed time in XML Report should satisfy pattern in
XSD.
[SUREFIRE-1562] - Support Java 11
[SUREFIRE-1565] - Surefire should support parameterized reportsDirectory

Task

[SUREFIRE-1569] - m-invoker-p:3.1.0 attempts to reolve
maven-surefire-common:jar:2.22.1-SNAPSHOT from remote repo
'apache.snapshots'
[SUREFIRE-1578] - Remove obsolete module
surefire-setup-integration-tests

Dependency upgrade

[SUREFIRE-1540] - Upgrade maven-plugins parent to version 32
[SUREFIRE-1571] - Upgrade maven-plugins parent to version 33

Enjoy,

-The Apache Maven team

Loading...