Created
January 27, 2018 16:38
-
-
Save pramoth/b8e202f8cd72cbc4ab4ddf6c87e5cb4a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.3</version> | |
| <configuration> | |
| <compilerId>javac-with-errorprone</compilerId> | |
| <forceJavacCompilerUse>true</forceJavacCompilerUse> | |
| <!-- maven-compiler-plugin defaults to targeting Java 5, but our javac | |
| only supports >=6 --> | |
| <source>7</source> | |
| <target>7</target> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.codehaus.plexus</groupId> | |
| <artifactId>plexus-compiler-javac-errorprone</artifactId> | |
| <version>2.8</version> | |
| </dependency> | |
| <!-- override plexus-compiler-javac-errorprone's dependency on | |
| Error Prone with the latest version --> | |
| <dependency> | |
| <groupId>com.google.errorprone</groupId> | |
| <artifactId>error_prone_core</artifactId> | |
| <version>2.2.0</version> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| </plugins> | |
| </build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment