From 5ba3796fcf9dd67185805b1e7295b102222c5413 Mon Sep 17 00:00:00 2001 From: Esteban Gutierrez Date: Mon, 15 Dec 2014 21:23:47 -0800 Subject: [PATCH] HBASE-12695 JDK 1.8 compilation broken --- hbase-client/pom.xml | 4 ++-- hbase-common/pom.xml | 4 ++-- hbase-examples/pom.xml | 4 ++-- hbase-hadoop-compat/pom.xml | 4 ++-- hbase-hadoop2-compat/pom.xml | 4 ++-- hbase-it/pom.xml | 4 ++-- hbase-prefix-tree/pom.xml | 4 ++-- hbase-server/pom.xml | 2 +- hbase-shell/pom.xml | 4 ++-- hbase-thrift/pom.xml | 4 ++-- pom.xml | 10 ++++++++++ 11 files changed, 29 insertions(+), 19 deletions(-) diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml index 5d21ea3..63c4e5d 100644 --- a/hbase-client/pom.xml +++ b/hbase-client/pom.xml @@ -40,14 +40,14 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true default-testCompile - javac-with-errorprone + ${java.default.compiler} true diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml index 49dd638..3ae4565 100644 --- a/hbase-common/pom.xml +++ b/hbase-common/pom.xml @@ -47,14 +47,14 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true default-testCompile - javac-with-errorprone + ${java.default.compiler} true diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index a0bf8f9..a149f52 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -37,7 +37,7 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true false @@ -45,7 +45,7 @@ default-testCompile - javac-with-errorprone + ${java.default.compiler} true false diff --git a/hbase-hadoop-compat/pom.xml b/hbase-hadoop-compat/pom.xml index 5186d66..0c3c2bf 100644 --- a/hbase-hadoop-compat/pom.xml +++ b/hbase-hadoop-compat/pom.xml @@ -42,7 +42,7 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true false @@ -50,7 +50,7 @@ default-testCompile - javac-with-errorprone + ${java.default.compiler} true false diff --git a/hbase-hadoop2-compat/pom.xml b/hbase-hadoop2-compat/pom.xml index ddaeef5..73a32f3 100644 --- a/hbase-hadoop2-compat/pom.xml +++ b/hbase-hadoop2-compat/pom.xml @@ -40,7 +40,7 @@ limitations under the License. default-compile - javac-with-errorprone + ${java.default.compiler} true false @@ -48,7 +48,7 @@ limitations under the License. default-testCompile - javac-with-errorprone + ${java.default.compiler} true false diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index 96aedc9..95b47ce 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -123,14 +123,14 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true default-testCompile - javac-with-errorprone + ${java.default.compiler} true diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml index 6654806..a97de92 100644 --- a/hbase-prefix-tree/pom.xml +++ b/hbase-prefix-tree/pom.xml @@ -39,14 +39,14 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true default-testCompile - javac-with-errorprone + ${java.default.compiler} true diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 72aadb1..f9c887f 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -59,7 +59,7 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml index ecc1cfd..5343a26 100644 --- a/hbase-shell/pom.xml +++ b/hbase-shell/pom.xml @@ -56,7 +56,7 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true false @@ -64,7 +64,7 @@ default-testCompile - javac-with-errorprone + ${java.default.compiler} true false diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 22192f3..c3c9ab8 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -52,7 +52,7 @@ default-compile - javac-with-errorprone + ${java.default.compiler} true false @@ -60,7 +60,7 @@ default-testCompile - javac-with-errorprone + ${java.default.compiler} true false diff --git a/pom.xml b/pom.xml index 9f53941..6b9ae79 100644 --- a/pom.xml +++ b/pom.xml @@ -994,6 +994,7 @@ 3.0.3 ${compileSource} + javac-with-errorprone 2.5.1 3.0.0-SNAPSHOT @@ -2370,6 +2371,15 @@ + + javac + + false + + + javac + + -- 2.2.1