You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by el...@apache.org on 2018/02/01 21:53:54 UTC

[04/10] phoenix git commit: PHOENIX-4570 Explicitly add test dependnecies to phoenix-pherf

PHOENIX-4570 Explicitly add test dependnecies to phoenix-pherf

Maven does not provide test-jar dependencies transitively.


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/08382538
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/08382538
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/08382538

Branch: refs/heads/5.x-HBase-2.0
Commit: 08382538f0fc55d2a2beb08819dd2a1df9474c51
Parents: 05c8b9a
Author: Josh Elser <el...@apache.org>
Authored: Tue Jan 30 15:22:00 2018 -0500
Committer: Josh Elser <el...@apache.org>
Committed: Wed Jan 31 12:34:02 2018 -0500

----------------------------------------------------------------------
 phoenix-flume/pom.xml       |  2 +-
 phoenix-hive/pom.xml        |  2 +-
 phoenix-kafka/pom.xml       |  2 +-
 phoenix-pherf/pom.xml       | 12 +++++++++++-
 phoenix-pig/pom.xml         |  2 +-
 phoenix-queryserver/pom.xml |  2 +-
 phoenix-spark/pom.xml       |  2 +-
 pom.xml                     |  2 +-
 8 files changed, 18 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/phoenix-flume/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-flume/pom.xml b/phoenix-flume/pom.xml
index 806b6a3..3b9b6cd 100644
--- a/phoenix-flume/pom.xml
+++ b/phoenix-flume/pom.xml
@@ -43,7 +43,7 @@
     <dependency>
       <groupId>org.apache.phoenix</groupId>
       <artifactId>phoenix-core</artifactId>
-      <classifier>tests</classifier>
+      <type>test-jar</type>
       <scope>test</scope>
     </dependency>
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/phoenix-hive/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-hive/pom.xml b/phoenix-hive/pom.xml
index cd1f3fe..2e3fdac 100644
--- a/phoenix-hive/pom.xml
+++ b/phoenix-hive/pom.xml
@@ -63,7 +63,7 @@
     <dependency>
       <groupId>org.apache.phoenix</groupId>
       <artifactId>phoenix-core</artifactId>
-      <classifier>tests</classifier>
+      <type>test-jar</type>
       <scope>test</scope>
     </dependency>
     <dependency>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/phoenix-kafka/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-kafka/pom.xml b/phoenix-kafka/pom.xml
index 27187f3..635c2f2 100644
--- a/phoenix-kafka/pom.xml
+++ b/phoenix-kafka/pom.xml
@@ -278,7 +278,7 @@
 		<dependency>
 			<groupId>org.apache.phoenix</groupId>
 			<artifactId>phoenix-core</artifactId>
-			<classifier>tests</classifier>
+			<type>test-jar</type>
 			<scope>test</scope>
 		</dependency>
 		<dependency>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/phoenix-pherf/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-pherf/pom.xml b/phoenix-pherf/pom.xml
index a009a23..569e0c6 100644
--- a/phoenix-pherf/pom.xml
+++ b/phoenix-pherf/pom.xml
@@ -42,7 +42,7 @@
 		<dependency>
 			<groupId>org.apache.phoenix</groupId>
 			<artifactId>phoenix-core</artifactId>
-			<classifier>tests</classifier>
+			<type>test-jar</type>
 			<scope>test</scope>
 		</dependency>
 		<dependency>
@@ -106,6 +106,16 @@
 			<artifactId>hadoop-minicluster</artifactId>
 			<scope>test</scope>
 		</dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.mockito</groupId>
+      <artifactId>mockito-all</artifactId>
+      <scope>test</scope>
+    </dependency>
 	</dependencies>
 
 	<build>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/phoenix-pig/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-pig/pom.xml b/phoenix-pig/pom.xml
index 1b9a0f7..6aaaeb9 100644
--- a/phoenix-pig/pom.xml
+++ b/phoenix-pig/pom.xml
@@ -44,7 +44,7 @@
     <dependency>
       <groupId>org.apache.phoenix</groupId>
       <artifactId>phoenix-core</artifactId>
-      <classifier>tests</classifier>
+      <type>test-jar</type>
       <scope>test</scope>
     </dependency>
     <dependency>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/phoenix-queryserver/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-queryserver/pom.xml b/phoenix-queryserver/pom.xml
index 7201ce6..937753d 100644
--- a/phoenix-queryserver/pom.xml
+++ b/phoenix-queryserver/pom.xml
@@ -160,7 +160,7 @@
     <dependency>
       <groupId>org.apache.phoenix</groupId>
       <artifactId>phoenix-core</artifactId>
-      <classifier>tests</classifier>
+      <type>test-jar</type>
       <scope>test</scope>
     </dependency>
     <dependency>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/phoenix-spark/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-spark/pom.xml b/phoenix-spark/pom.xml
index 18bd6b5..b2151d7 100644
--- a/phoenix-spark/pom.xml
+++ b/phoenix-spark/pom.xml
@@ -75,7 +75,7 @@
     <dependency>
       <groupId>org.apache.phoenix</groupId>
       <artifactId>phoenix-core</artifactId>
-      <classifier>tests</classifier>
+      <type>test-jar</type>
       <scope>test</scope>
     </dependency>
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/08382538/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d8676d9..7408c7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -502,7 +502,7 @@
         <groupId>org.apache.phoenix</groupId>
         <artifactId>phoenix-core</artifactId>
         <version>${project.version}</version>
-        <classifier>tests</classifier>
+        <type>test-jar</type>
         <scope>test</scope>
       </dependency>
       <dependency>