jtnord opened a new issue, #841: URL: https://github.com/apache/maven-surefire/issues/841
### New feature, improvement proposal Currently you have the option of using regular arguments or using a manifest only JAR to control the classpath for surefire. The Manifest JAR is a workaround for windows and long command lines. However, Java has (since java11) had an inbuilt way to handle this using [argument files](https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-3B1CE181-CD30-4178-9602-230B800D4FAE__GUID-36C0C35E-403B-4A05-9C54-0CBE7D237C1C). This option is needed on Windows where the maven repository and source code (or even a split repository) may be on different drives, as without this you will always encounter a `dumpstream` containing something like: ``` # Created at 2025-05-08T11:59:58.265 Boot Manifest-JAR contains absolute paths in classpath 'D:\source\github\xxx\target\test-classes' Hint: <argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine> 'other' has different root ``` Whilst surefire still works, and this option could be added by using an argument file no workarounds would be necessary with that option, and if < java11 support was ever dropped then the launcher code could be simplified to a single implementation. -- 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: issues-unsubscr...@maven.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org