You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by vi...@apache.org on 2018/12/18 23:58:52 UTC

[phoenix-connectors] 13/15: Inherit from Apache Phoenix pom

This is an automated email from the ASF dual-hosted git repository.

vincentpoon pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git

commit af6af3ee9b359d723c8fec86f0fd0acaef17dfcc
Author: Vincent Poon <vi...@apache.org>
AuthorDate: Thu Dec 6 18:24:55 2018 -0800

    Inherit from Apache Phoenix  pom
---
 pom.xml                                  | 16 ++++++++++------
 presto-hbase-testing-util-shaded/pom.xml |  5 ++---
 presto-phoenix-client-shaded/pom.xml     | 15 +++------------
 3 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2cb2c23..fe2e189 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,11 +3,15 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.phoenix</groupId>
+        <artifactId>phoenix</artifactId>
+        <version>4.15.0-HBase-1.4-SNAPSHOT</version>
+    </parent>
+
     <name>Presto Apache Phoenix Shaded</name>
     <description>Shaded version of Apache Phoenix for Presto</description>
-    <groupId>org.apache.phoenix</groupId>
     <artifactId>presto-phoenix-shaded</artifactId>
-    <version>4.15.0-HBase-1.4-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <licenses>
@@ -19,8 +23,10 @@
     </licenses>
 
     <properties>
-        <phoenix.version>4.15.0-HBase-1.4-SNAPSHOT</phoenix.version>
-        <hbase.version>1.3.1</hbase.version>
+        <!-- Don't make a test-jar -->
+        <maven.test.skip>true</maven.test.skip>
+        <!-- Don't make a source-jar -->
+        <source.skip>true</source.skip>
         <shadeBase>com.facebook.presto.phoenix.shaded</shadeBase>
     </properties>
 
@@ -34,7 +40,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-gpg-plugin</artifactId>
-                <version>1.5</version>
                 <executions>
                     <execution>
                         <id>sign-artifacts</id>
@@ -47,7 +52,6 @@
             </plugin>
             <plugin>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <version>3.0.0</version>
                 <executions>
                     <execution>
                         <id>javadoc-jar</id>
diff --git a/presto-hbase-testing-util-shaded/pom.xml b/presto-hbase-testing-util-shaded/pom.xml
index 81bea93..dd6ed79 100644
--- a/presto-hbase-testing-util-shaded/pom.xml
+++ b/presto-hbase-testing-util-shaded/pom.xml
@@ -19,8 +19,8 @@
         <dependency>
             <groupId>org.apache.hbase</groupId>
             <artifactId>hbase-server</artifactId>
-            <version>${hbase.version}</version>
             <type>test-jar</type>
+            <scope>compile</scope>
             <exclusions>
                 <exclusion>
                     <groupId>*</groupId>
@@ -32,7 +32,7 @@
         <dependency>
             <groupId>org.apache.hbase</groupId>
             <artifactId>hbase-common</artifactId>
-            <version>${hbase.version}</version>
+            <scope>compile</scope>
             <type>test-jar</type>
             <exclusions>
                 <exclusion>
@@ -48,7 +48,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-shade-plugin</artifactId>
-                <version>2.4.2</version>
                 <executions>
                     <execution>
                         <phase>package</phase>
diff --git a/presto-phoenix-client-shaded/pom.xml b/presto-phoenix-client-shaded/pom.xml
index 1d58c3a..cd9d1b0 100644
--- a/presto-phoenix-client-shaded/pom.xml
+++ b/presto-phoenix-client-shaded/pom.xml
@@ -19,19 +19,11 @@
         <dependency>
             <groupId>org.apache.phoenix</groupId>
             <artifactId>phoenix-client</artifactId>
-            <version>${phoenix.version}</version>
+            <version>${project.version}</version>
             <exclusions>
                 <exclusion>
-                    <groupId>org.apache.phoenix</groupId>
-                    <artifactId>phoenix-flume</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.apache.phoenix</groupId>
-                    <artifactId>phoenix-pig</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.apache.phoenix</groupId>
-                    <artifactId>phoenix-spark</artifactId>
+                    <groupId>*</groupId>
+                    <artifactId>*</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
@@ -42,7 +34,6 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-shade-plugin</artifactId>
-                <version>2.4.2</version>
                 <executions>
                     <execution>
                         <phase>package</phase>