Re: Let's move Surefire project to JAVA 9. Surefire and Failsafe stop working on latest versions of Windows due to missing wmic.
Gary Gregory <[email protected]> Fri, 6 Feb 2026 20:25:32 -0500
| Newsgroups | gmane.comp.jakarta.turbine.maven.user |
|---|---|
| Message-ID | <CACZkXPwUNcQnbVaymFLMMLrSDpcszT-iY_cEB06SHPJ2XK5NUA@mail.gmail.com> |
FWIW, it would make more sense to switch to an LTS version, the closest being 11. Gary On Fri, Feb 6, 2026 at 7:22 PM Tibor Digaňa <[email protected]> wrote: > > Hi all, > > I would like to have your opinion regarding this issue reported on GitHub: > "Surefire and Failsafe stop working on latest versions of Windows due to > missing wmic" > Please see the link here > https://github.com/apache/maven-surefire/issues/3176 > > I am the author who developed the PPID Process Checker. When I worked on it > together with Michael Osipov, we reached a consensus. It was a very nice > personal collaboration, and now I would be glad to have this guy back in > the active Maven Team again :-) > That time we used Java 7 or Java 8, or even both, however Java 9 was > available in the world. We could not use the Java 9 however it could really > help us. Therefore we decided to call the system library "wmic" on Windows, > and "ps" on *Nix world, and not Java 9. > > Due to the Microsoft Windows removed "wmic", I am open to move complete > Surefire project under Java 9. > > I remember how problematic life it was when we had to support both Java 7 > and Java 8 at the same time. I do not want to support two Java versions > again. > It would be easier for us to get a confidence from the Maven community and > switch to Java 9 directly. > I hope we would get an exception in the list of Maven plugins. > > BTW, One more remark. There are strengths to destroy this project. Let's > ignore these strengths. We can prevent from this happening if we are > positive and we are friendly working together. > > > Cheers > Tibor17