diff --git a/hbase-assembly/pom.xml b/hbase-assembly/pom.xml
index ee6a72757d8..f8d3aa2e040 100644
--- a/hbase-assembly/pom.xml
+++ b/hbase-assembly/pom.xml
@@ -83,43 +83,23 @@
hbase-it
test-jar
-
- org.apache.hbase
- hbase-common
- test-jar
-
org.apache.hbase
hbase-server
-
- org.apache.hbase
- hbase-server
- test-jar
- test
-
org.apache.hbase
hbase-hadoop-compat
-
- org.apache.hbase
- hbase-hadoop-compat
- ${project.version}
- test-jar
- test
-
org.apache.hbase
${compat.module}
${project.version}
- org.apache.hbase
- ${compat.module}
- ${project.version}
- test-jar
- test
+ org.apache.hbase
+ hbase-shell
+ ${project.version}
diff --git a/hbase-examples/pom.xml b/hbase-examples/pom.xml
index ddaa8c5982b..2a16ca41f1a 100644
--- a/hbase-examples/pom.xml
+++ b/hbase-examples/pom.xml
@@ -67,21 +67,35 @@
org.apache.hbase
hbase-common
-
- org.apache.hbase
- hbase-common
- test-jar
- test
-
org.apache.hbase
hbase-protocol
- compile
org.apache.hbase
hbase-client
- compile
+
+
+ org.apache.hbase
+ hbase-server
+
+
+ org.apache.hbase
+ hbase-thrift
+
+
+ org.apache.hbase
+ hbase-testing-util
+ test
+
+
+
+ org.apache.thrift
+ libthrift
+
+
+ commons-logging
+ commons-logging
org.apache.zookeeper
@@ -91,28 +105,6 @@
com.google.protobuf
protobuf-java
-
- org.apache.hbase
- hbase-server
-
-
- org.apache.hbase
- hbase-server
- test-jar
- test
-
-
- org.apache.hbase
- hbase-thrift
-
-
- org.apache.thrift
- libthrift
-
-
- commons-logging
- commons-logging
-
diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index 7f21d815d80..5fa1288fbcd 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -142,11 +142,6 @@
hbase-common
jar
-
- org.apache.hbase
- hbase-common
- test-jar
-
org.apache.hbase
hbase-protocol
@@ -155,6 +150,27 @@
org.apache.hbase
hbase-client
+
+ org.apache.hbase
+ hbase-shell
+
+
+ org.apache.hbase
+ hbase-server
+
+
+ org.apache.hbase
+ hbase-hadoop-compat
+
+
+ org.apache.hbase
+ ${compat.module}
+ ${project.version}
+
+
+ org.apache.hbase
+ hbase-testing-util
+
com.google.guava
guava
@@ -176,46 +192,9 @@
commons-lang
- org.apache.hbase
- hbase-shell
+ org.cloudera.htrace
+ htrace-core
-
- org.apache.hbase
- hbase-server
-
-
- org.apache.hbase
- hbase-server
- test-jar
- test
-
-
- org.apache.hbase
- hbase-hadoop-compat
-
-
- org.apache.hbase
- hbase-hadoop-compat
- ${project.version}
- test-jar
- test
-
-
- org.apache.hbase
- ${compat.module}
- ${project.version}
-
-
- org.apache.hbase
- ${compat.module}
- ${project.version}
- test-jar
- test
-
-
- org.cloudera.htrace
- htrace-core
-
diff --git a/hbase-shell/pom.xml b/hbase-shell/pom.xml
index 391eba7f527..d4bf6af71c2 100644
--- a/hbase-shell/pom.xml
+++ b/hbase-shell/pom.xml
@@ -175,21 +175,10 @@
org.apache.hbase
hbase-server
-
- org.apache.hbase
- hbase-common
- test-jar
-
org.apache.hbase
hbase-hadoop-compat
-
- org.apache.hbase
- hbase-hadoop-compat
- test-jar
- test
-
org.apache.hbase
${compat.module}
@@ -197,15 +186,7 @@
org.apache.hbase
- hbase-server
- test-jar
- test
-
-
- org.apache.hbase
- ${compat.module}
- ${project.version}
- test-jar
+ hbase-testing-util
test
diff --git a/hbase-testing-util/pom.xml b/hbase-testing-util/pom.xml
new file mode 100644
index 00000000000..56233938b73
--- /dev/null
+++ b/hbase-testing-util/pom.xml
@@ -0,0 +1,245 @@
+
+
+
+ 4.0.0
+
+ hbase
+ org.apache.hbase
+ 0.97.0-SNAPSHOT
+ ..
+
+ hbase-testing-util
+ HBase - Testing Util
+ HBase Testing Utilities.
+
+
+
+
+ org.apache.hbase
+ hbase-common
+ jar
+ compile
+
+
+ org.apache.hbase
+ hbase-common
+ test-jar
+ compile
+
+
+ org.apache.hbase
+ hbase-protocol
+ jar
+ compile
+
+
+ org.apache.hbase
+ hbase-client
+ jar
+ compile
+
+
+ org.apache.hbase
+ hbase-server
+ jar
+ compile
+
+
+ org.apache.hbase
+ hbase-server
+ test-jar
+ compile
+
+
+ org.apache.hbase
+ hbase-hadoop-compat
+ jar
+ compile
+
+
+ org.apache.hbase
+ hbase-hadoop-compat
+ test-jar
+ compile
+
+
+ org.apache.hbase
+ ${compat.module}
+ jar
+ compile
+
+
+ org.apache.hbase
+ ${compat.module}
+ test-jar
+ compile
+
+
+ org.slf4j
+ slf4j-log4j12
+ ${slf4j.version}
+
+
+
+
+
+
+
+
+ hadoop-1.1
+
+
+
+ !hadoop.profile
+
+
+
+
+ org.apache.hadoop
+ hadoop-core
+ compile
+
+
+ org.apache.hadoop
+ hadoop-test
+ compile
+
+
+
+
+ hadoop-1.0
+
+
+ hadoop.profile
+ 1.0
+
+
+
+
+ org.apache.hadoop
+ hadoop-core
+ compile
+
+
+ org.apache.hadoop
+ hadoop-test
+ compile
+
+
+
+
+
+ hadoop-2.0
+
+
+
+ hadoop.profile2.0
+
+
+
+
+ org.apache.hadoop
+ hadoop-common
+ compile
+
+
+ org.apache.hadoop
+ hadoop-auth
+ compile
+
+
+ org.apache.hadoop
+ hadoop-client
+ compile
+
+
+ org.apache.hadoop
+ hadoop-mapreduce-client-core
+ compile
+
+
+ org.apache.hadoop
+ hadoop-mapreduce-client-jobclient
+ compile
+
+
+ org.apache.hadoop
+ hadoop-hdfs
+ compile
+
+
+ org.apache.hadoop
+ hadoop-hdfs
+ compile
+
+
+ org.apache.hadoop
+ hadoop-annotations
+ compile
+
+
+ org.apache.hadoop
+ hadoop-minicluster
+ compile
+
+
+
+
+
+ hadoop-3.0
+
+
+ hadoop.profile
+ 3.0
+
+
+
+ 3.0-SNAPSHOT
+
+
+
+ org.apache.hadoop
+ hadoop-common
+ compile
+
+
+ org.apache.hadoop
+ hadoop-annotations
+ compile
+
+
+ org.apache.hadoop
+ hadoop-minicluster
+ compile
+
+
+
+
+
\ No newline at end of file
diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml
index f4030a99244..22072f9331f 100644
--- a/hbase-thrift/pom.xml
+++ b/hbase-thrift/pom.xml
@@ -142,11 +142,6 @@
hbase-common
jar
-
- org.apache.hbase
- hbase-common
- test-jar
-
org.apache.hbase
hbase-protocol
@@ -181,33 +176,18 @@
org.apache.hbase
- hbase-server
- test-jar
+ hbase-testing-util
test
org.apache.hbase
hbase-hadoop-compat
-
- org.apache.hbase
- hbase-hadoop-compat
- ${project.version}
- test-jar
- test
-
org.apache.hbase
${compat.module}
${project.version}
-
- org.apache.hbase
- ${compat.module}
- ${project.version}
- test-jar
- test
-
org.cloudera.htrace
htrace-core
diff --git a/pom.xml b/pom.xml
index 1bccac78faf..d3792b2ebba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,6 +60,7 @@
hbase-examples
hbase-prefix-tree
hbase-assembly
+ hbase-testing-util
scm:svn:http://svn.apache.org/repos/asf/hbase/trunk
@@ -1034,6 +1035,12 @@
test-jar
test
+
+ org.apache.hbase
+ hbase-testing-util
+ ${project.version}
+ test
+
org.apache.hbase
hbase-prefix-tree