diff --git a/base/.mvn/jvm.config b/base/.mvn/jvm.config new file mode 100644 index 0000000..32599ce --- /dev/null +++ b/base/.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 c433bf0..2a8eaf3 100755 --- a/pom.xml +++ b/pom.xml @@ -252,7 +252,6 @@ maven-surefire-plugin 3.0.0-M5 - io.github.wiverson jtoolprovider-plugin @@ -346,6 +345,42 @@ + + lint + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + + -XDcompilePolicy=simple + + -Xplugin:ErrorProne \ + -Xep:NullAway:ERROR \ + -XepOpt:NullAway:AnnotatedPackages=corf \ + -XepExcludedPaths:.*/src/test/java/.* + -XepAllErrorsAsWarnings + + + + + com.google.errorprone + error_prone_core + 2.16 + + + com.uber.nullaway + nullaway + 0.10.4 + + + + + + + diff --git a/sampler/.mvn/jvm.config b/sampler/.mvn/jvm.config new file mode 100644 index 0000000..32599ce --- /dev/null +++ b/sampler/.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