From 1e44e5e0df6f39c6a85012c479aae19a7be2194e Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Fri, 13 Mar 2015 17:27:54 -0400 Subject: [PATCH] HBASE-13236 Add addt'l lifecycle-mapping executions. Adds a number of lifecycle-mapping entries which prevent errors from showing up in Eclipse on a fresh import of HBase. For plugins defined in the top-level pom, the mapping is added there; otherwise, the mapping is pushed down to the child pom. --- hbase-client/pom.xml | 30 ++++++++++++++++++++++ hbase-common/pom.xml | 30 ++++++++++++++++++++-- hbase-examples/pom.xml | 43 ++++++++++++++++++++++++++++++++ hbase-hadoop-compat/pom.xml | 30 ++++++++++++++++++++++ hbase-hadoop2-compat/pom.xml | 19 +++++++++++--- hbase-it/pom.xml | 39 +++++++++++++++++++++++++++++ hbase-prefix-tree/pom.xml | 30 ++++++++++++++++++++++ hbase-rest/pom.xml | 30 ++++++++++++++++++++++ hbase-server/pom.xml | 32 +++++++++++++++++++++--- hbase-shell/pom.xml | 41 +++++++++++++++++++++++++++++- hbase-thrift/pom.xml | 56 +++++++++++++++++++++++++++++++++++++++++ pom.xml | 59 +++++++++++++++++++++++++++++++++++++++----- 12 files changed, 424 insertions(+), 15 deletions(-) diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml index 29fa4fe..da8683f 100644 --- a/hbase-client/pom.xml +++ b/hbase-client/pom.xml @@ -91,6 +91,36 @@ maven-source-plugin + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + + + + + + + diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml index c95aaf7..20f905c 100644 --- a/hbase-common/pom.xml +++ b/hbase-common/pom.xml @@ -165,8 +165,8 @@ - + org.eclipse.m2e lifecycle-mapping @@ -187,6 +187,32 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + [2.8,) + + build-classpath + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml index a149f52..8f19f46 100644 --- a/hbase-examples/pom.xml +++ b/hbase-examples/pom.xml @@ -82,6 +82,49 @@ maven-source-plugin + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [2.8,) + + build-classpath + + + + + + + + + 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 0c3c2bf..3b16f82 100644 --- a/hbase-hadoop-compat/pom.xml +++ b/hbase-hadoop-compat/pom.xml @@ -95,6 +95,36 @@ maven-source-plugin + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + 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 e88b854..279a765 100644 --- a/hbase-hadoop2-compat/pom.xml +++ b/hbase-hadoop2-compat/pom.xml @@ -116,9 +116,9 @@ limitations under the License. - + org.eclipse.m2e lifecycle-mapping @@ -139,6 +139,19 @@ limitations under the License. + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index 4b9f850..721dfe5 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -115,6 +115,45 @@ + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [2.8,) + + build-classpath + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + + + + + diff --git a/hbase-prefix-tree/pom.xml b/hbase-prefix-tree/pom.xml index a97de92..13422b4 100644 --- a/hbase-prefix-tree/pom.xml +++ b/hbase-prefix-tree/pom.xml @@ -90,6 +90,36 @@ + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + + + + + + + diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 5fd7319..e82f029 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -147,6 +147,36 @@ + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-antrun-plugin + [1.6,) + + run + + + + + + + + + + + + diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 6df5293..67a1e20 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -234,9 +234,9 @@ - + org.eclipse.m2e lifecycle-mapping @@ -276,6 +276,32 @@ + + + org.apache.maven.plugins + maven-dependency-plugin + [2.8,) + + build-classpath + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml index bdba00c..9eef464 100644 --- a/hbase-shell/pom.xml +++ b/hbase-shell/pom.xml @@ -170,7 +170,46 @@ ${surefire.firstPartGroups} - + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [2.8,) + + build-classpath + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + + + + + + diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index c07a417..b434617 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -171,6 +171,62 @@ maven-source-plugin + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-antrun-plugin + [1.6,) + + run + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [2.8,) + + build-classpath + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + [3.2,) + + compile + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index b6e23c0..3f94abc 100644 --- a/pom.xml +++ b/pom.xml @@ -653,16 +653,63 @@ maven-eclipse-plugin 2.9 - - + org.eclipse.m2e lifecycle-mapping 1.0.0 + + + + + + org.jacoco + jacoco-maven-plugin + [0.6.2.201302030002,) + + prepare-agent + + + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + [1.0.1,) + + enforce + + + + + + + + + org.apache.maven.plugins + maven-remote-resources-plugin + [1.4,) + + process + + + + + + + + + -- 2.1.2