Created
February 12, 2015 13:35
-
-
Save sebastianmonte/71c4f51e71bc5b190198 to your computer and use it in GitHub Desktop.
Maven and Error Prone
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.2</version> | |
<configuration> | |
<compilerId>javac-with-errorprone</compilerId> | |
<forceJavacCompilerUse>true</forceJavacCompilerUse> | |
<source>1.7</source> | |
<target>1.7</target> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.errorprone</groupId> | |
<artifactId>error_prone_core</artifactId> | |
<version>1.1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-compiler-javac</artifactId> | |
<version>2.3</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-compiler-javac-errorprone</artifactId> | |
<version>2.3</version> | |
</dependency> | |
</dependencies> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment