Releases: apache/maven-surefire
Releases · apache/maven-surefire
3.5.2
🚀 New features and improvements
- [SUREFIRE-2278] - Don't say please. (#792) @elharo
📦 Dependency updates
- [SUREFIRE-2281] - Doxia 2.0.0 ga (#794) @michael-o
- Bump commons-io:commons-io from 2.2 to 2.14.0 in /surefire-its/src/test/resources/surefire-979-smartStackTrace-wrongClassloader/module1 (#789) @dependabot
👻 Maintenance
- [SUREFIRE-2282] - surefire-report-plugin: Update Introduction documenta… (#796) @michael-o
- Reduce cyclomatic complexity (#793) @elharo
Full Changelog: surefire-3.5.1...surefire-3.5.2
3.5.1
🚀 New features and improvements
- [SUREFIRE-2270] - Use JUnit5 in surefire-shadefire (#783) @slawekjaranowski
- [SUREFIRE-2266] - Execute ITs in parallel (#781) @slawekjaranowski
- [SUREFIRE-2264] - Limit usage of commons-io from surefire-shared-utils (#777) @slawekjaranowski
🐛 Bug Fixes
- [SUREFIRE-2267] - Packages for commons-codec should be relocated in surefire-shared-utils (#782) @slawekjaranowski
- [SUREFIRE-1737] - Fix disable in statelessTestsetReporter (#780) @slawekjaranowski
- [SUREFIRE-2257] - [REGRESSION] NPEx: Cannot invoke "Object.toString()" … (#774) @michael-o
📦 Dependency updates
- [SUREFIRE-2273] - Bump org.hamcrest:hamcrest from 2.2 to 3.0 (#784) @dependabot
- [SUREFIRE-2272] - Bump org.codehaus.plexus:plexus-java from 1.2.0 to 1.3.0 - JDK 23 support (#786) @dependabot
- [SUREFIRE-2226] - Upgrade to Maven Verifier 2.0.0-M1 (#706) @michael-o
- [SUREFIRE-2265] - Bump commons-io:commons-io from 2.16.1 to 2.17.0 (#779) @dependabot
- [SUREFIRE-2263] - Use the latest version of surefire for self build (#776) @slawekjaranowski
- [SUREFIRE-2262] - Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#775) @dependabot
👻 Maintenance
- [SUREFIRE-2269] - Allow fail during clean in surefire-its (#785) @slawekjaranowski
3.5.0
Improvement
- [SUREFIRE-2227] - Dynamically calculate xrefTestLocation
Wish
- [SUREFIRE-2199] - [WARNING] * org.apache.maven.plugins:maven-surefire-report-plugin:3.1.2
Task
- [SUREFIRE-2161] - Align Mojo class names and output names
Dependency upgrade
- [SUREFIRE-2228] - Upgrade to Doxia 2.0.0 Milestone Stack
- [SUREFIRE-2256] - Upgrade to Parent 43
What's Changed
- [SUREFIRE-2256] Upgrade to Parent 43 by @michael-o in #770
- Bump org.apache.commons:commons-compress from 1.27.0 to 1.27.1 by @dependabot in #771
- [SUREFIRE-2228] Upgrade to Doxia 2.0.0 Milestone Stack by @michael-o in #629
Full Changelog: surefire-3.4.0...surefire-3.5.0
3.4.0
Bug
- [SUREFIRE-2251] - [REGRESSION] java.lang.NoSuchMethodException: org.apache.maven.plugin.surefire.StartupReportConfiguration.<init>
- [SUREFIRE-2253] - [REGRESSION] Bump org.apache.commons:commons-compress from 1.26.0 to 1.26.1 causes hang
Improvement
- [SUREFIRE-1385] - System properties defined in the Surefire and Failsafe plugin configuration should override user properties
What's Changed
- javadoc: improve description of systemPropertyVariables by @kwin in #759
- Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 by @dependabot in #760
- [Doc] Failsafe Verify goal should mention failsafe by @bdemers in #764
- [SUREFIRE-1385] Add new parameter "userPropertyVariables" to overwrite by @kwin in #762
- Bump org.apache.commons:commons-compress from 1.26.2 to 1.27.0 by @dependabot in #769
- Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0 by @dependabot in #767
- Bump org.htmlunit:htmlunit from 4.3.0 to 4.4.0 by @dependabot in #765
New Contributors
Full Changelog: surefire-3.3.1...surefire-3.4.0
3.3.1
Bug
- [SUREFIRE-2105] - Failsafe report size increased with version upgrade from 2.17 to 2.22.2
- [SUREFIRE-2242] - Plain test report does not include names of the skipped tests
- [SUREFIRE-2250] - Surefire Test Report Schema properties element is not consistent with the code
Improvement
- [SUREFIRE-1360] - Ability to disable properties for successfully passed tests
- [SUREFIRE-1934] - Ability to disable system-out/system-err for successfully passed tests
- [SUREFIRE-2124] - Avoid creating unnecessary target files for pom projects
- [SUREFIRE-2249] - Doc for `properties` parameter does not mention JUnit
What's Changed
- Update MSITE and MPIR in a few ITs by @michael-o in #751
- [SUREFIRE-2124] Avoid creating unnecessary target files for pom projects by @michael-o in #753
- [SUREFIRE-2242] Plain test report does not include names of the skipp… by @michael-o in #752
- Bump org.htmlunit:htmlunit from 4.2.0 to 4.3.0 by @dependabot in #754
- Improve time units by @michael-o in #756
- Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.23 to 1.24 by @dependabot in #757
- [SUREFIRE-1360] Ability to disable properties for successfully passed tests by @michael-o in #755
- [SUREFIRE-2250] Surefire Test Report Schema properties element is not consistent with the code by @michael-o in #758
Full Changelog: surefire-3.3.0...surefire-3.3.1
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