From b0e899e580476b2241d0945e67d59c343df17e8c Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Wed, 15 Nov 2017 14:42:29 -0500 Subject: [PATCH] HBASE-19267 Remove compiler-plugin mapping executions as it breaks Java8 detection It seems like the original reason this execution filter was added is no longer an issue for 2.0. Actually, these entries actually preclude Eclipse from correctly using the Java8 source/target version that we have specified (which creates numerous compilation errors in Eclipse) Signed-off-by: Guanghao Zhang --- hbase-backup/pom.xml | 13 ------------- hbase-client/pom.xml | 13 ------------- hbase-common/pom.xml | 13 ------------- hbase-examples/pom.xml | 14 -------------- hbase-external-blockcache/pom.xml | 13 ------------- hbase-hadoop-compat/pom.xml | 13 ------------- hbase-hadoop2-compat/pom.xml | 13 ------------- hbase-http/pom.xml | 13 ------------- hbase-it/pom.xml | 13 ------------- hbase-mapreduce/pom.xml | 13 ------------- hbase-protocol/pom.xml | 15 +++++++++++++++ hbase-replication/pom.xml | 13 ------------- hbase-rsgroup/pom.xml | 13 ------------- hbase-server/pom.xml | 13 ------------- hbase-shell/pom.xml | 13 ------------- hbase-thrift/pom.xml | 13 ------------- hbase-zookeeper/pom.xml | 13 ------------- 17 files changed, 15 insertions(+), 209 deletions(-) diff --git a/hbase-backup/pom.xml b/hbase-backup/pom.xml index 6282471297..d7521d3fc1 100644 --- a/hbase-backup/pom.xml +++ b/hbase-backup/pom.xml @@ -61,19 +61,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml index 45393b5bf7..f566da9dbf 100644 --- a/hbase-client/pom.xml +++ b/hbase-client/pom.xml @@ -65,19 +65,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml index 8c5d40c73f..cf302eba5a 100644 --- a/hbase-common/pom.xml +++ b/hbase-common/pom.xml @@ -181,19 +181,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index 49f71e3934..c6ec4d8f33 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -48,7 +48,6 @@ maven-surefire-plugin - ${surefire.version} @@ -97,19 +96,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-external-blockcache/pom.xml b/hbase-external-blockcache/pom.xml index 845e8f33e1..3e763af123 100644 --- a/hbase-external-blockcache/pom.xml +++ b/hbase-external-blockcache/pom.xml @@ -132,19 +132,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-hadoop-compat/pom.xml b/hbase-hadoop-compat/pom.xml index edbcf8cad9..47ff69bc83 100644 --- a/hbase-hadoop-compat/pom.xml +++ b/hbase-hadoop-compat/pom.xml @@ -67,19 +67,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-hadoop2-compat/pom.xml b/hbase-hadoop2-compat/pom.xml index 6cc152f28c..b2614357b0 100644 --- a/hbase-hadoop2-compat/pom.xml +++ b/hbase-hadoop2-compat/pom.xml @@ -99,19 +99,6 @@ limitations under the License. - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-http/pom.xml b/hbase-http/pom.xml index 13fae092f7..048ebff16b 100644 --- a/hbase-http/pom.xml +++ b/hbase-http/pom.xml @@ -175,19 +175,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index a166b91537..62516e83a3 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -138,19 +138,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-mapreduce/pom.xml b/hbase-mapreduce/pom.xml index 7e0a87c85a..27cacdbb1d 100644 --- a/hbase-mapreduce/pom.xml +++ b/hbase-mapreduce/pom.xml @@ -98,19 +98,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-protocol/pom.xml b/hbase-protocol/pom.xml index f5ff08ee29..a608dffccd 100644 --- a/hbase-protocol/pom.xml +++ b/hbase-protocol/pom.xml @@ -136,6 +136,21 @@ + + + + com.google.code.maven-replacer-plugin + + replacer + [1.5.3,) + + replace + + + + + + diff --git a/hbase-replication/pom.xml b/hbase-replication/pom.xml index 039f8ac76f..bec15a4c06 100644 --- a/hbase-replication/pom.xml +++ b/hbase-replication/pom.xml @@ -81,19 +81,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-rsgroup/pom.xml b/hbase-rsgroup/pom.xml index 9b0bfe7557..053606e8fb 100644 --- a/hbase-rsgroup/pom.xml +++ b/hbase-rsgroup/pom.xml @@ -79,19 +79,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 2995981a7c..757387e71a 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -307,19 +307,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml index 9bbeed70d6..6ac3cbaddd 100644 --- a/hbase-shell/pom.xml +++ b/hbase-shell/pom.xml @@ -169,19 +169,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 6457b33d38..1190a5cde4 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -176,19 +176,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - diff --git a/hbase-zookeeper/pom.xml b/hbase-zookeeper/pom.xml index 7b5fa420b6..d353bff0b1 100644 --- a/hbase-zookeeper/pom.xml +++ b/hbase-zookeeper/pom.xml @@ -146,19 +146,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - [3.2,) - - compile - - - - - - -- 2.14.1