From 872adb71dc20faea3995fd0ee9eb1dfdcafe26ad Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 17 Nov 2016 17:30:27 -0800 Subject: [PATCH] Enable error-prone for the Maven build - update maven-compiler-plugin to 3.6.0 - exclude InsecureCipherFactory from errorprone checks See https://maven.apache.org/guides/mini/guide-default-execution-ids.html#Example:_Configuring_compile_to_run_twice https://groups.google.com/d/topic/error-prone-discuss/pzT45ZMCQOc/discussion Change-Id: Ic16d3f15cf2ef40de62fe6bfe4b8b35f0c1edc4e Signed-off-by: David Pursehouse Signed-off-by: Matthias Sohn --- pom.xml | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9aceba18ce..3c583f4919 100644 --- a/pom.xml +++ b/pom.xml @@ -258,12 +258,59 @@ maven-compiler-plugin - 3.5.1 + 3.6.0 UTF-8 1.8 1.8 + + + default-compile + compile + + compile + + + + org/eclipse/jgit/transport/InsecureCipherFactory.java + + + + + compile-with-errorprone + compile + + compile + + + javac-with-errorprone + true + + org/eclipse/jgit/transport/InsecureCipherFactory.java + + + + + + + org.codehaus.plexus + plexus-compiler-javac + 2.8.1 + + + org.codehaus.plexus + plexus-compiler-javac-errorprone + 2.8.1 + + + + com.google.errorprone + error_prone_core + 2.0.14 + + -- 2.39.5