gnodet commented on PR #3352: URL: https://github.com/apache/maven-surefire/pull/3352#issuecomment-5444980262
I've re-rolled the workaround as a standalone PR against master: #3448 It includes both pieces from Guillaume's July force-push: 1. **`MavenLauncher.isMaven4()`** — detects Maven 4 via `maven-cli-*.jar` in `$MAVEN_HOME/lib/` and forces `forkJvm=true`, bypassing `maven-verifier 2.0.0-M1`'s broken embedded-mode reflection against `MavenCling.doMain()`. 2. **`CountdownCloseable` spurious-wakeup fix** — `if` → `while` around `Object.wait()` per the JLS. Once that's merged, this PR only needs the matrix-exclude fix (`"maven": "4.0.0-rc-6"` instead of `"4"`) and the JDK 8 entry cleanup. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
