From dddc1d221fae78677b5e269a4dad1f5ff409d0fe Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 14 Jul 2016 09:54:50 +0200 Subject: Add google's error prone static analysis to build Can be also integrated with IDEs: http://errorprone.info/docs/installation Change-Id: I5f695995078139a077bd9d62c68792207c904e11 Signed-off-by: Maros Marsalek --- common/api-parent/pom.xml | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) (limited to 'common/api-parent') diff --git a/common/api-parent/pom.xml b/common/api-parent/pom.xml index 81c818f8a..ec7f78dcb 100644 --- a/common/api-parent/pom.xml +++ b/common/api-parent/pom.xml @@ -125,14 +125,32 @@ - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - + + org.apache.maven.plugins + maven-compiler-plugin + + + javac-with-errorprone + true + true + 1.8 + 1.8 + + + + org.codehaus.plexus + plexus-compiler-javac-errorprone + 2.5 + + + + com.google.errorprone + error_prone_core + 2.0.9 + + + -- cgit 1.2.3-korg