From 8159998d3f6a5c13d8d52c2c3be227fecb724ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20D=C3=A9camps?= Date: Wed, 1 Nov 2017 21:02:45 +0100 Subject: [PATCH] Add google error-prone in compile step. Note that FallThrough violations have been reduced to warnings. issue #222 --- pom.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/pom.xml b/pom.xml index 2ac7840ff..f2dd946ed 100644 --- a/pom.xml +++ b/pom.xml @@ -126,6 +126,36 @@ + + + org.apache.maven.plugins + maven-compiler-plugin + 3.3 + + javac-with-errorprone + true + + -Xep:FallThrough:WARN + + 7 + 7 + + + + org.codehaus.plexus + plexus-compiler-javac-errorprone + 2.8 + + + + com.google.errorprone + error_prone_core + 2.1.1 + + + +