PHOENIX-1272 Avoid pulling in unintended HBase dependencies in phoenix-core
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/846ed101 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/846ed101 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/846ed101 Branch: refs/heads/4.0 Commit: 846ed101a33bfc34546f327e9e90e8c572e2372b Parents: 6d91f8c Author: Andrew Purtell <apurt...@apache.org> Authored: Tue Sep 30 16:26:39 2014 -0700 Committer: Andrew Purtell <apurt...@apache.org> Committed: Tue Sep 30 16:26:45 2014 -0700 ---------------------------------------------------------------------- phoenix-core/pom.xml | 2 ++ phoenix-flume/pom.xml | 2 ++ phoenix-pig/pom.xml | 2 ++ pom.xml | 7 +++++++ 4 files changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/846ed101/phoenix-core/pom.xml ---------------------------------------------------------------------- diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml index d5ec5fe..5b7d63d 100644 --- a/phoenix-core/pom.xml +++ b/phoenix-core/pom.xml @@ -336,6 +336,8 @@ <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-testing-util</artifactId> + <scope>test</scope> + <optional>true</optional> </dependency> <dependency> <groupId>org.apache.hbase</groupId> http://git-wip-us.apache.org/repos/asf/phoenix/blob/846ed101/phoenix-flume/pom.xml ---------------------------------------------------------------------- diff --git a/phoenix-flume/pom.xml b/phoenix-flume/pom.xml index a7fd0c6..d76a9fe 100644 --- a/phoenix-flume/pom.xml +++ b/phoenix-flume/pom.xml @@ -86,6 +86,8 @@ <groupId>org.apache.hbase</groupId> <artifactId>hbase-testing-util</artifactId> <version>${hbase.version}</version> + <scope>test</scope> + <optional>true</optional> <exclusions> <exclusion> <groupId>org.jruby</groupId> http://git-wip-us.apache.org/repos/asf/phoenix/blob/846ed101/phoenix-pig/pom.xml ---------------------------------------------------------------------- diff --git a/phoenix-pig/pom.xml b/phoenix-pig/pom.xml index 4d427d1..825c8da 100644 --- a/phoenix-pig/pom.xml +++ b/phoenix-pig/pom.xml @@ -55,6 +55,8 @@ <groupId>org.apache.hbase</groupId> <artifactId>hbase-testing-util</artifactId> <version>${hbase.version}</version> + <scope>test</scope> + <optional>true</optional> <exclusions> <exclusion> <groupId>org.jruby</groupId> http://git-wip-us.apache.org/repos/asf/phoenix/blob/846ed101/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index f9b9cad..ebce9b3 100644 --- a/pom.xml +++ b/pom.xml @@ -448,6 +448,8 @@ <groupId>org.apache.hbase</groupId> <artifactId>hbase-testing-util</artifactId> <version>${hbase.version}</version> + <scope>test</scope> + <optional>true</optional> <exclusions> <exclusion> <groupId>org.jruby</groupId> @@ -472,6 +474,11 @@ </dependency> <dependency> <groupId>org.apache.hbase</groupId> + <artifactId>hbase-server</artifactId> + <version>${hbase.version}</version> + </dependency> + <dependency> + <groupId>org.apache.hbase</groupId> <artifactId>hbase-hadoop-compat</artifactId> <version>${hbase.version}</version> </dependency>