Fix mock tests
This commit is contained in:
8
mvnw.cmd
vendored
Normal file
8
mvnw.cmd
vendored
Normal 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"
|
||||
Reference in New Issue
Block a user