Apache Maven

Sunday November 17, 2019

Apache Maven Surefire Version 3.0.0-M4

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

The release contains 43 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>3.0.0-M4</version>
</plugin>

or for failsafe:

1
2
3
4
5
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-failsafe-plugin</artifactId>
  <version>3.0.0-M4</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>3.0.0-M4</version>
</plugin>

You can download the appropriate sources etc. from the download page.

Release Notes – Maven Surefire – Version 3.0.0-M4

Bugs:

  • SUREFIRE-1222 – ForkClient attempts to consume unrelated lines
  • SUREFIRE-1464 – Failsafe plugin exposes slf4j-jdk14 dependency
  • SUREFIRE-1534 – Surefire 2.21.0 ClassNotFoundException: org.apache.maven.plugin.surefire.StartupReportConfiguration using reuseForks set to false
  • SUREFIRE-1546 – JUnit 5 runner does not honor JUnit 5 display names
  • SUREFIRE-1664 – “plugin’s wiki page” points to non-existing web page
  • SUREFIRE-1669 – POJO tests do not call fixture methods setUp and tearDown and test instances are not new between tests
  • SUREFIRE-1670 – wrong “Filtering by Test Class Names” in failsafe “Using JUnit 5 Platform” page
  • SUREFIRE-1675 – Forked JVM terminates with ‘halt’ when another module’s tests fail
  • SUREFIRE-1679 – Caching of provider classpath with module-specific changes may break test bootstrapping in subsequent modules
  • SUREFIRE-1684 – The documentation of Maven Surefire Report Plugin contains wrong number of plugin goals
  • SUREFIRE-1689 – The fast PpidChecker is switched to the slow 30 seconds PING after the subprocess (/bin/ps -o etime= -p …) failed with exit 1
  • SUREFIRE-1690 – Typo fixed: classpathDependencyExclude
  • SUREFIRE-1701 – Surefire / Failsafe rerun failed tests functionality fails with JUnit 5 if using @DisplayName
  • SUREFIRE-1707 – Forked JVM is killed when GC paused the tests for over 30 seconds
  • SUREFIRE-1712 – Running tests with JDK13 fails with Unsupported class file major version 57
  • SUREFIRE-1716 – JUnit5 Parameterized tests and re-run should see unique test runs with different parameters

New Features:

Improvements:

  • SUREFIRE-1004 – Enhance pattern/wildcard capabilities for dependenciesToScan to GAVT
  • SUREFIRE-1585 – Align JUnit Platform version at runtime
  • SUREFIRE-1617 – Surefire fails with bad message when path contains colon
  • SUREFIRE-1619 – FileReporter should not use PintWriter because i/o errors are not thrown
  • SUREFIRE-1620 – Replaced deprecated component ArtifactFactory with RepositorySystem
  • SUREFIRE-1634 – Add missing since tags to excludesFile and includesFile
  • SUREFIRE-1635 – Set properties readonly where it doesn’t make sense to change values
  • SUREFIRE-1647 – When using junit5, delay loading testClass and use myown classLoader
  • SUREFIRE-1666 – printSummary=false does not completely suppress the summary on the console
  • SUREFIRE-1668 – The stackTrace should use CDATA in XML report.
  • SUREFIRE-1682 – Default value for config parameter ‘shutdown’ should change from ‘testset’ to ‘exit’
  • SUREFIRE-1702 – [JDK 11 Alpine Linux] JAR content is not flushed completely down to drive “Error: Invalid or corrupt jarfile target/surefire/surefirebooter13749914711390838584.jar”
  • SUREFIRE-1703 – [JDK 11 Alpine Linux] Surefire handled random order of pid and /procps does not filter pid on busybox distributions
  • SUREFIRE-1704 – [JDK 11 Alpine Linux] long etime within hours has format 2h01 on busybox

Tasks:

  • SUREFIRE-1678 – JUnit5 Integration Tests should test wide spectrum of versions
  • SUREFIRE-1683 – Buildfix: TLS 1.2 passed to maven-invoker-plugin via system property
  • SUREFIRE-1706 – Use the checkstyle in tests and set includeTestSourceDirectory=true
  • SUREFIRE-1714 – Created module “surefire-shared-utils” as a required dependency in “surefire-extensions-api” and “maven-surefire-common”

Dependency upgrades:

Enjoy,

-The Apache Maven team

Comments:

Post a Comment:
Comments are closed for this entry.

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation