diff --git a/app/pom.xml b/app/pom.xml index 189ade6..2bed1ea 100644 --- a/app/pom.xml +++ b/app/pom.xml @@ -149,11 +149,12 @@ -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED -Xplugin:ErrorProne \ - -Xep:RestrictedApi:ERROR \ - -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \ - -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \ - -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used. + + + + + -XDcompilePolicy=simple --should-stop=ifError=FLOW diff --git a/framework/pom.xml b/framework/pom.xml index b0e037c..5c1988d 100644 --- a/framework/pom.xml +++ b/framework/pom.xml @@ -161,12 +161,13 @@ -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED - -Xplugin:ErrorProne \ - -Xep:RestrictedApi:ERROR \ - -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \ - -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \ - -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used. + -Xplugin:ErrorProne + + + + + -XDcompilePolicy=simple --should-stop=ifError=FLOW diff --git a/game/pom.xml b/game/pom.xml index efd9aaf..28a59b7 100644 --- a/game/pom.xml +++ b/game/pom.xml @@ -123,12 +123,13 @@ -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED - -Xplugin:ErrorProne \ - -Xep:RestrictedApi:ERROR \ - -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \ - -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \ - -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used. + -Xplugin:ErrorProne + + + + + -XDcompilePolicy=simple --should-stop=ifError=FLOW diff --git a/pom.xml b/pom.xml index 8742145..ecc0238 100644 --- a/pom.xml +++ b/pom.xml @@ -131,12 +131,13 @@ -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED - -Xplugin:ErrorProne \ - -Xep:RestrictedApi:ERROR \ - -XepOpt:RestrictedApi:annotation=org.toop.framework.annotations.TestsOnly \ - -XepOpt:RestrictedApi:allowlistRegex=(?s).*/src/test/java/.*|.*test\.java \ - -XepOpt:RestrictedApi:message=This API is marked @TestsOnly and shouldn't be normally used. + -Xplugin:ErrorProne + + + + + -XDcompilePolicy=simple --should-stop=ifError=FLOW