Fix mock tests

This commit is contained in:
Tour
2025-12-05 03:42:36 +01:00
parent ff8f5f2c1a
commit 8ecd9fcbda
11 changed files with 105 additions and 22 deletions

8
mvnw.cmd vendored Normal file
View File

@@ -0,0 +1,8 @@
@echo off
@REM Wrapper script to suppress Maven Guice warnings
@REM Redirects stderr warnings to nul while keeping actual errors
set MAVEN_OPTS=%MAVEN_OPTS% --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
@REM Run maven and filter out Guice warnings
mvn %* 2>&1 | findstr /V /C:"sun.misc.Unsafe" /C:"com.google.inject" /C:"WARNING: package sun.misc"