diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 00000000000..32599cefea5 --- /dev/null +++ b/.mvn/jvm.config @@ -0,0 +1,10 @@ +--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED diff --git a/pom.xml b/pom.xml index 3e30d44c25c..d384c882f94 100644 --- a/pom.xml +++ b/pom.xml @@ -83,6 +83,7 @@ 1.11 3.1.0 24.12.0 + 2.36.0 @@ -292,11 +293,27 @@ ${java.version} true + + -XDcompilePolicy=simple + --should-stop=ifError=FLOW + + -Xplugin:ErrorProne + -Xep:BadImport:OFF + -Xep:UnnecessaryLambda:OFF + -Xep:UnnecessaryStringBuilder:OFF + -Xep:ImmutableEnumChecker:OFF + + org.springframework.boot spring-boot-configuration-processor + + com.google.errorprone + error_prone_core + ${error-prone.version} +