Releases: apache/maven-surefire
Releases Β· apache/maven-surefire
3.3.0
Release Notes - Maven Surefire - Version 3.3.0
Bug
- [SUREFIRE-1939] - Build fails if java.home has <=2 path components
- [SUREFIRE-2232] - [REGRESSION] StatelessXmlReporter fails to process failed result without a throwable
- [SUREFIRE-2240] - Using JUnit BOM prevents upgrading the engine version via plugin dependency
Improvement
- [SUREFIRE-2248] - Make "type" attribute on failures and errors in (surefire|failsafe)-test-report schema optional
Test
- [SUREFIRE-2141] - Surefire 3.0.0-M8 tests don't pass on Mac M1 (Surefire1295AttributeJvmCrashesToTestsIT)
Task
- [SUREFIRE-2244] - Make IT for SUREFIRE-1295 reliable
- [SUREFIRE-2246] - Clean up dependencies reported by dependencies:analyze
Dependency upgrade
- [SUREFIRE-2047] - Upgrade to maven-common-artifact-filters 3.4.0
- [SUREFIRE-2243] - Upgrade commons-io:commons-io to 2.16.0
- [SUREFIRE-2245] - Upgrade to Parent 42 and Maven 3.6.3
What's Changed
- Bump org.htmlunit:htmlunit from 3.9.0 to 3.10.0 by @dependabot in #717
- Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0 by @dependabot in #722
- Bump org.htmlunit:htmlunit from 3.10.0 to 3.11.0 by @dependabot in #721
- Bump org.assertj:assertj-core from 3.25.1 to 3.25.3 by @dependabot in #719
- Remove references to very old versions of surefire and TestNG by @elharo in #723
- [SUREFIRE-2240] Don't manage JUnit5 artifact versions by @kwin in #725
- Bump org.apache.commons:commons-compress from 1.26.0 to 1.26.1 by @dependabot in #727
- Bump apache/maven-gh-actions-shared from 3 to 4 by @dependabot in #724
- [SUREFIRE-2243] Bump commons-io:commons-io from 2.15.1 to 2.16.0 by @dependabot in #728
- Bump commons-io:commons-io from 2.16.0 to 2.16.1 by @dependabot in #731
- Bump jacocoVersion from 0.8.11 to 0.8.12 (Java 22/23) by @dependabot in #729
- Remove references to very old versions by @elharo in #734
- [SUREFIRE-2244] Make IT for SUREFIRE-1295 reliable by @michael-o in #741
- Directory, not folder by @michael-o in #740
- [SUREFIRE-2245] Upgrade to Parent 42 and Maven 3.6.3 by @michael-o in #737
- [SUREFIRE-2246] Clean up dependencies reported by dependencies:analyze by @michael-o in #738
- [SUREFIRE-1939] Build fails if java.home has <=2 path components by @michael-o in #743
- Fix schema locations in code which lead to 404 by @michael-o in #745
- [SUREFIRE-2047] Upgrade to maven-common-artifact-filters 3.4.0 by @michael-o in #742
- [SUREFIRE-2248] Make "type" attribute on failures and errors in (sure⦠by @michael-o in #746
- Bump org.apache.commons:commons-compress from 1.26.1 to 1.26.2 by @dependabot in #735
- Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 by @dependabot in #736
- Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0 by @dependabot in #732
- Bump org.htmlunit:htmlunit from 3.11.0 to 4.2.0 by @dependabot in #744
- [SUREFIRE-2232] StatelessXmlReporter: handle failed test result without a throwable by @dr29bart in #716
- Bump org.codehaus.plexus:plexus-interpolation from 1.25 to 1.27 by @dependabot in #748
- Bump org.codehaus.plexus:plexus-component-annotations from 2.1.0 to 2.2.0 by @dependabot in #747
New Contributors
Full Changelog: surefire-3.2.5...surefire-3.3.0
3.2.5
Release Notes - Maven Surefire - Version 3.2.5
Bug
- [SUREFIRE-2223] - Surefire evaluates parameter jvm before skip
- [SUREFIRE-2224] - StatelessXmlReporter#getTestProblems() does not properly reflect report schema structure
- [SUREFIRE-2225] - Surefire ITs fail when project directory contains space
- [SUREFIRE-2229] - [REGRESSION] SUREFIRE-2224 causes stack trace to be omitted for errors and failures
- [SUREFIRE-2231] - JaCoCo 0.8.11 fails with old TestNG releases on Java 17+
Improvement
- [SUREFIRE-1345] - Support flakyFailure and flakyError in TestSuiteXmlParser
- [SUREFIRE-2221] - Document minimum supported Java version for Toolchains
What's Changed
- Bump org.htmlunit:htmlunit from 3.8.0 to 3.9.0 by @dependabot in #695
- Bump org.fusesource.jansi:jansi from 2.4.0 to 2.4.1 by @dependabot in #684
- Bump doxiaVersion from 1.11.1 to 1.12.0 by @dependabot in #609
- [SUREFIRE-2221] Document minimum supported Java version for Toolchains by @sbernard31 in #701
- [SUREFIRE-2224] StatelessXmlReporter#getTestProblems() does not properly reflect report schema structure by @michael-o in #702
- [SUREFIRE-2223] Surefire evaluates parameter jvm before skip by @michael-o in #703
- Use uppercase convention for enum member names by @michael-o in #704
- [SUREFIRE-2225] Surefire ITs fail when project directory contains space by @michael-o in #705
- Run CI tests also with Java 21 by @slachiewicz in #707
- Bump org.apache.maven.wagon:wagon-http-lightweight from 3.5.1 to 3.5.3 by @dependabot in #699
- Bump org.htmlunit:htmlunit from 3.8.0 to 3.9.0 in /maven-failsafe-plugin/src/it/jetty-war-test-failing by @dependabot in #694
- Bump org.htmlunit:htmlunit from 3.8.0 to 3.9.0 in /maven-failsafe-plugin/src/it/jetty-war-test-passing by @dependabot in #693
- Bump commons-io:commons-io from 2.15.0 to 2.15.1 by @dependabot in #712
- Bump net.java.dev.javacc:javacc from 7.0.12 to 7.0.13 by @dependabot in #711
- Bump org.apache.maven.plugins:maven-docck-plugin from 1.1 to 1.2 by @dependabot in #713
- [SUREFIRE-2231] JaCoCo 0.8.11 fails with old TestNG releases on Java 17+ by @michael-o in #710
- Bump org.assertj:assertj-core from 3.24.2 to 3.25.1 by @dependabot in #714
- Bump org.codehaus.plexus:plexus-component-metadata from 2.1.1 to 2.2.0 by @dependabot in #715
New Contributors
- @sbernard31 made their first contribution in #701
Full Changelog: surefire-3.2.3...surefire-3.2.5
3.2.3
Release Notes - Maven Surefire - Version 3.2.3
Bug
- [SUREFIRE-2210] - Additional class path ordering broken since 3.2.0
- [SUREFIRE-2211] - additionalClasspathElement with UNC path not working with Maven Failsafe Plugin
- [SUREFIRE-2212] - OutOfMemoryError raised when parsing files with huge stderr/stdout output in surefire-report-parser
- [SUREFIRE-2220] - SurefireForkChannel#getForkNodeConnectionString() returns invalid URI string if localHost resolves to IPv6 address
Dependency upgrade
- [SUREFIRE-2214] - Upgrade to HtmlUnit 3.8.0
- [SUREFIRE-2215] - Upgrade to Parent 41
- [SUREFIRE-2216] - Upgrade plugins and components (in ITs)
- [SUREFIRE-2231] - JaCoCo 0.8.11 fails with old TestNG releases on Java 17+ (#710) @michael-o
- [SUREFIRE-2225] - Surefire ITs fail when project directory contains space (#705) @michael-o
- Use uppercase convention for enum member names (#704) @michael-o
- [SUREFIRE-2223] - Surefire evaluates parameter jvm before skip (#703) @michael-o
- [SUREFIRE-2224] - StatelessXmlReporter#getTestProblems() does not properly reflect report schema structure (#702) @michael-o
- [SUREFIRE-2221] - Document minimum supported Java version for Toolchains (#701) @sbernard31
- [SUREFIRE-2216] - Upgrade plugins and components (in ITs) (#690) @michael-o
- [SUREFIRE-2210] - Restore ordering of additional class path elements (#686) @dmlloyd
π¦ Dependency updates
- Bump org.codehaus.plexus:plexus-component-metadata from 2.1.1 to 2.2.0 (#715) @dependabot
- Bump org.assertj:assertj-core from 3.24.2 to 3.25.1 (#714) @dependabot
- Bump org.apache.maven.plugins:maven-docck-plugin from 1.1 to 1.2 (#713) @dependabot
- Bump net.java.dev.javacc:javacc from 7.0.12 to 7.0.13 (#711) @dependabot
- Bump commons-io:commons-io from 2.15.0 to 2.15.1 (#712) @dependabot
- Bump org.htmlunit:htmlunit from 3.8.0 to 3.9.0 in /maven-failsafe-plugin/src/it/jetty-war-test-passing (#693) @dependabot
- Bump org.htmlunit:htmlunit from 3.8.0 to 3.9.0 in /maven-failsafe-plugin/src/it/jetty-war-test-failing (#694) @dependabot
- Bump org.apache.maven.wagon:wagon-http-lightweight from 3.5.1 to 3.5.3 (#699) @dependabot
- Bump doxiaVersion from 1.11.1 to 1.12.0 (#609) @dependabot
- Bump org.fusesource.jansi:jansi from 2.4.0 to 2.4.1 (#684) @dependabot
- Bump org.htmlunit:htmlunit from 3.8.0 to 3.9.0 (#695) @dependabot
π» Maintenance
- Run CI tests also with Java 21 (#707) @slachiewicz
3.2.2
π Bug Fixes
- [SUREFIRE-2205] - Use maven-plugin-report-plugin only in plugins modules (#681) @slawekjaranowski
- [SUREFIRE-2206] - Downgrade plexus-xml to 3.0.0 (#675) @slawekjaranowski
π¦ Dependency updates
- [SUREFIRE-2208] - Bump org.codehaus.plexus:plexus-java from 1.1.2 to 1.2.0 (#682) @dependabot
- [SUREFIRE-2206] - Downgrade plexus-xml to 3.0.0 (#675) @slawekjaranowski
π§ Build
- Use Maven 3.x.x and 3.6.3 on Jenkins (#674) @slawekjaranowski
3.2.1
π New features and improvements
- [SUREFIRE-1124] - Support forkNumber in environment variables (#664) @swismer
- [SUREFIRE-2177] - Use junit-bom instead of single JUnit 5 versions (#663) @scordio
- [SUREFIRE-2179] - Support adding additional Maven dependencies to the test runtime classpath (#667) @kwin
- [SUREFIRE-2178] - clarify classpathDependencyExcludes (#666) @kwin
- [SUREFIRE-2182] - Log starter implementation on DEBUG level (#665) @kwin
π Bug Fixes
- [SUREFIRE-2190] - Fix module dependencies for compile only dependencies (#668) @hgschmie
π Documentation updates
π» Maintenance
- Fix TestNG web site URL (#671) @sabi0
- [MNG-6847] - Use diamond operator (#669) @timtebeek
3.1.2
Release Notes - Maven Surefire - Version 3.1.2
- update commons compress to 1.23.0 (#655) @elharo
- Drop unused commons-lang 2.6 from management (#661) @elilja
- Remove old junittoolbox dependency no longer used (#658) @elharo
- update test libraries (#657) @elharo
- update commons-io to 2.12.0 (#653) @elharo
- remove descriptions of Maven 2.x and very old versions (#647) @elharo
- Remove more details about Maven 2 and old versions (#654) @elharo
- Simplify method (#651) @michael-o
- Update Sufefire (#646) @michael-o
- Backport (#635) @michael-o
- [SUREFIRE-2166] - Use ChoiceFormat to selective render percentage and elapsed time in SurefireReportRenderer (#639) @michael-o
- Simplify serialization/deserialization of elapsed time (SUREFIRE-2164 + SUREFIRE-2167) (#645) @michael-o
- [SUREFIRE-2169] - Potential NPE in WrappedReportEntry when #getElapsed(β¦ (#643) @michael-o
- fix SAX bug (#642) @michael-o
- [MNG-6829] - Replace StringUtils#isEmpty(String) & #isNotEmpty(String) (#641) @timtebeek
- Fixes (#636) @michael-o
π¦ Dependency updates
- Bump animal-sniffer-maven-plugin from 1.21 to 1.23 (#624) @dependabot
π» Maintenance
- [SUREFIRE-2173] - Pass build and tests with Java 20 (#648) @slachiewicz
3.1.0
Release Notes - Maven Surefire - Version 3.1.0
Sub-task
- [SUREFIRE-2162] - Document upcoming mojo and file names change
Bug
- [SUREFIRE-2140] - Cannot release Surefire on Windows
Improvement
- [SUREFIRE-2153] - Replace SurefireReportGenerator with a new SurefireReportRenderer
- [SUREFIRE-2160] - Replace LocalizedProperties with (Custom)I18N approach from MPIR
Task
- [SUREFIRE-2130] - Rewrite several test classes in report plugin for upcoming Doxia 2.0.0 stack
3.0.0
π New features and improvements
- [SUREFIRE-2154] - Get rid of localRepository from surefire mojo parameter, use Resolver API (#617) @slawekjaranowski
π Bug Fixes
- [SUREFIRE-2119] - Sanitize failIfNoSpecifiedTests prefix in failsafe (#570) @liry
- [SUREFIRE-2143] - Fix reporting of skipped parameterized test (#612) @andpab
π Documentation updates
- [SUREFIRE-2156] - Refresh download page (#618) @slawekjaranowski
π» Maintenance
- [SUREFIRE-2150] - Remove duplicate license headers (#619) @slawekjaranowski
- [SUREFIRE-2150] - upgrade to parent pom 39 (#614) @olamy
- [SUREFIRE-2149] - Make all ITs run with Maven 3.9.0 (#613) @andpab
3.0.0-M9
π New features and improvements
- [SUREFIRE-2146] - Don't draw border around reporting tables (#596) @michael-o
π Bug Fixes
- [SUREFIRE-2145] - Don't use Sink#figure()/Sink#figureCaption() since it⦠(#595) @michael-o
- [SUREFIRE-2065] - Fix parameterized JUnit4 test reporting (#608) @andpab
- [SUREFIRE-2095] - Fork crash doesn't fail build with -Dmaven.test.failure.ignore=true when run with failsafe (#545) @br0nstein
π¦ Dependency updates
- Bump log4j-core from 2.13.1 to 2.17.1 in /surefire-its/src/test/resources/surefire-1659-stream-corruption (#569) @dependabot
- Bump junit from 4.12 to 4.13.1 in /surefire-its/src/test/resources/surefire-2065-junit4 (#611) @dependabot
- Bump commons-email from 1.2 to 1.5 in /surefire-its/src/test/resources/classpath-filtering (#551) @dependabot
3.0.0-M8
π₯ Breaking changes
- [SUREFIRE-1654] - Remove deprecated
forkMode
parameter (#575) @SimonBaars
π New features and improvements
- [SUREFIRE-2139] - Raise plexus-java to 1.1.2 for proper Java 19/20 bytecode support (#591) @andpab
- [SUREFIRE-2133] - Make anchors start before the headings (#582) @michael-o
π Bug Fixes
- [SUREFIRE-2095] - Fork crash doesn't fail build with -Dmaven.test.failure.ignore=true when run with failsafe (#545) @br0nstein
- [[SUREFIRE-2109] Add suffix derived from current user to Surefire temp directory name (#554) @sman-81]](https://issues.apache.org/jira/browse/SUREFIRE-2109] Add suffix derived from current user to Surefire temp directory name (#554) @sman-81) - [SUREFIRE-2117] - Include package, outer classes in XML report for @nested (#568) @andpab
- [SUREFIRE-2101] - JUnit5 console reporting: Fall back to class name (#587) @andpab
- [SUREFIRE-2101] - Fixes 'null' phrased test names with JUnit5 without @DisplayName (#549) @ascopes
- [SUREFIRE-2032] - Fix test count when using @disabled at class level (#564) @gnodet
- [SUREFIRE-2135] - Use native.encoding for parsing ps (#584) @andpab
- [SUREFIRE-2100] - make aggregate parameter work for single-module projects (#548) @kwin
- [SUREFIRE-2090] - Xref link to source code with specified line number doesn't work. Missing "L" in anchor (#555) @raupachz
- [SUREFIRE-2082] - Close file handles asap to prevent breaching the system's maximum number of open files (#534) @Tibor17
π¦ Dependency updates
- Bump log4j-core from 2.13.1 to 2.17.1 in /surefire-its/src/test/resources/surefire-1659-stream-corruption (#569) @dependabot
- Bump junit from 4.12 to 4.13.1 in /surefire-its/src/test/resources/surefire-2065-junit4 (#611) @dependabot
- Bump commons-email from 1.2 to 1.5 in /surefire-its/src/test/resources/classpath-filtering (#551) @dependabot
- [SUREFIRE-2129] - Upgrade Maven Reporting API to 3.1.1/Maven Reporting β¦ (#579) @michael-o
- Bump commons-email from 1.2 to 1.5 in /surefire-its/src/test/resources/classpath-scope-filtering (#550) @dependabot
- Bump javacc from 7.0.11 to 7.0.12 (#553) @dependabot
- Bump assertj-core from 3.22.0 to 3.23.1 (#541) @dependabot
π Documentation updates
π» Maintenance
- [SUREFIRE-1962] - Unit test for ProviderInfo#isApplicable (#445) @slawekjaranowski
- [SUREFIRE-2138] - Update Junit4/5 version in docs and ITs (#590) @andpab
- [SUREFIRE-2137] - Run JUnitPlatform ITs with latest 5.8.x/5.9.x as well (#588) @andpab
- [NO-JIRA] Refactor integration tests module (#576) @SimonBaars
- Fix report tests (#586) @michael-o
- [SUREFIRE-2126] - Use the latest surefire version 3.0.0-M7 with self testing (#578) @slawekjaranowski
- [SUREFIRE-2136] - Rename test dir that contains colon (#585) @andpab