| <?xml version='1.0'?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 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"> |
| <parent> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-hive-base</artifactId> |
| <version>6.0.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>phoenix5-hive</artifactId> |
| <name>Phoenix Hive Connector for Phoenix 5</name> |
| |
| <properties> |
| <test.tmp.dir>${project.build.directory}/tmp</test.tmp.dir> |
| <phoenix.version>${phoenix-five.version}</phoenix.version> |
| <hbase.version>${hbase-two.version}</hbase.version> |
| <hbase.compat.version>${hbase-two.compat.version}</hbase.compat.version> |
| <hadoop.version>${hadoop-three.version}</hadoop.version> |
| <zookeeper.version>${hbase-two.zookeeper.version}</zookeeper.version> |
| <hive.version>${hive3.version}</hive.version> |
| <jdk.version>1.8</jdk.version> |
| <phoenix.main.version>5</phoenix.main.version> |
| <calcite.version>${hive5.calcite.version}</calcite.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-connectors-phoenix5-compat</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-hbase-compat-${hbase.compat.version}</artifactId> |
| <scope>runtime</scope> |
| <optional>true</optional> |
| </dependency> |
| <!-- Hive dependencies cannot be specified in the phoenix-hive-common, because of |
| hbase transitive dependency version conflicts --> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-cli</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-common</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <!-- These three dependencies are falsely flagged by dependency plugin --> |
| <dependency> |
| <groupId> org.apache.hive</groupId> |
| <artifactId>hive-serde</artifactId> |
| <version>${hive.version}</version> |
| <exclusions> |
| <!-- Fix conflict with Minicluster --> |
| <exclusion> |
| <groupId>io.netty</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId> org.apache.hive</groupId> |
| <artifactId>hive-storage-api</artifactId> |
| <version>${hive-storage.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId> org.apache.hive.shims</groupId> |
| <artifactId>hive-shims-common</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <!-- These are actually different between phoenix 5 and phoenix 4 --> |
| <dependency> |
| <groupId> org.apache.hive</groupId> |
| <artifactId>hive-standalone-metastore</artifactId> |
| <version>${hive.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-mapreduce</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-zookeeper</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-protocol-shaded</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-endpoint</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs-client</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j2.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>${zookeeper.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-testing-util</artifactId> |
| <version>${hbase.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |