Created
March 7, 2018 16:16
-
-
Save nanomad/f5a07dd3c5fb81fa8fbb012bbdbced5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.7.0</version> | |
<configuration> | |
<compilerId>javac-with-errorprone</compilerId> | |
<forceJavacCompilerUse>true</forceJavacCompilerUse> | |
<showWarnings>true</showWarnings> | |
<showDeprecation>true</showDeprecation> | |
<annotationProcessorPaths> | |
<path> | |
<groupId>com.uber.nullaway</groupId> | |
<artifactId>nullaway</artifactId> | |
<version>0.3.0</version> | |
</path> | |
</annotationProcessorPaths> | |
<compilerArgs> | |
<arg>-Xep:NullAway:ERROR</arg> | |
<arg>-XepOpt:NullAway:AnnotatedPackages=it.tgi.demos.javabugs</arg> | |
</compilerArgs> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-compiler-javac-errorprone</artifactId> | |
<version>2.8.2</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.errorprone</groupId> | |
<artifactId>error_prone_core</artifactId> | |
<version>2.2.0</version> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment