Andreas Pabst created SUREFIRE-2149:
---------------------------------------
Summary: Several Surefire772*ITs fail with Maven 3.9.0
Key: SUREFIRE-2149
URL: https://issues.apache.org/jira/browse/SUREFIRE-2149
Project: Maven Surefire
Issue Type: Task
Affects Versions: 3.0.0-M8
Reporter: Andreas Pabst
See errors in continuous build since the switch to Maven 3.9.0
{noformat}
Error: Failures:
Error: Surefire772BothReportsIT.testReportGeneration:57 Expecting failsafe
report file
Error: Surefire772BothReportsIT.testSkippedSurefireReportGeneration:85
Expecting failsafe report file
Error:
Surefire772NoSurefireReportsIT.testOptionalSurefireReportGeneration:75
Expecting failsafe report file
Error: Surefire772NoSurefireReportsIT.testReportGeneration:49 Expecting
failsafe report file
Error:
Surefire772NoSurefireReportsIT.testSkipOptionalSurefireReportGeneration:88
Expecting failsafe report file
Error: Surefire772NoSurefireReportsIT.testSkippedSurefireReportGeneration:62
Expecting failsafe report file
{noformat}
The reason is that
{{org.apache.maven.surefire.its.fixture.MavenLauncher#skipClean}} still uses
the pre-3.0.0 name of the respective {{maven-clean-plugin}} property.
It should use {{{}-Dmaven.clean.skip=true{}}}, not {{-Dclean.skip=true}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)