An update. This may be the other fixed issue in that release actually (SUREFIRE-1764). Is JUnit engine 1.6.1 now mandatory? What happens for projects that are using an older JUnit version?
On Mon, May 4, 2020 at 3:59 PM Stephane Nicoll <stephane.nic...@gmail.com> wrote: > I am not sure that SUREFIRE-1679 is fixed. I've ran the Spring Boot build > with 2.22.2 and reproduced the error there. Upgrading to this candidate > release and I got this error. > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) > on project spring-boot-configuration-metadata: There are test failures. > [ERROR] > [ERROR] Please refer to > /Users/snicoll/workspace/work/spring-boot/2.2.x/spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/target/surefire-reports > for the individual test results. > [ERROR] Please refer to dump files (if any exist) [date].dump, > [date]-jvmRun[N].dump and [date].dumpstream. > [ERROR] There was an error in the forked process > [ERROR] java.lang.NoClassDefFoundError: > org/junit/platform/engine/EngineDiscoveryListener > [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: > There was an error in the forked process > [ERROR] java.lang.NoClassDefFoundError: > org/junit/platform/engine/EngineDiscoveryListener > [ERROR] at > org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:656) > [ERROR] at > org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282) > [ERROR] at > org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245) > [ERROR] at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1186) > [ERROR] at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1014) > [ERROR] at > org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:860) > > See https://github.com/spring-projects/spring-boot/issues/19631 > > On Sun, May 3, 2020 at 11:44 PM Tibor Digana <tibordig...@apache.org> > wrote: > >> Hi, >> >> We solved 2 issues: >> >> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317927&version=12345472 >> >> There are still a couple of issues left in JIRA: >> >> https://issues.apache.org/jira/issues/?jql=project%20%3D%20SUREFIRE%20AND%20status%20%3D%20Open%20ORDER%20BY%20priority%20DESC >> >> Staging repo: >> https://repository.apache.org/content/repositories/maven-1572/ >> >> https://repository.apache.org/content/repositories/maven-1572/org/apache/maven/surefire/surefire/2.22.3/surefire-2.22.3-source-release.zip >> >> Source release checksum(s): >> >> surefire-2.22.3-source-release.zip sha512:: >> >> c1533ed45fd3119d028a4914ca7557acfbfea5218b5536bbafeed4b33845486b976f20b39334e2917636e3739240478ca46bd25a0dc011e5fb2aa85033e9e959 >> surefire-2.22.3-source-release.zip sha1: >> 2db957105d2929911927482c8d2198bd6ef718a7 >> >> >> Staging site: >> N/A - we do not want to override new site with old versions 2.22.x >> >> Guide to testing staged releases: >> http://maven.apache.org/guides/development/guide-testing-releases.html >> >> Vote open for 72 hours. >> >> [ ] +1 >> [ ] +0 >> [ ] -1 >> >> -- >> Cheers >> Tibor >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org >> For additional commands, e-mail: dev-h...@maven.apache.org >> >>