| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ 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> |
| <artifactId>hive-it</artifactId> |
| <groupId>org.apache.hive</groupId> |
| <version>3.1.2</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>hive-it-druid</artifactId> |
| |
| <packaging>jar</packaging> |
| <name>Hive Integration - QFile Druid Tests</name> |
| |
| <!-- dependencies are always listed in sorted order by groupId, artifectId --> |
| <!-- test intra-project --> |
| <properties> |
| <hive.path.to.root>../..</hive.path.to.root> |
| <druid.curator.version>4.0.0</druid.curator.version> |
| <druid.jersey.version>1.19.3</druid.jersey.version> |
| <druid.jetty.version>9.3.19.v20170502</druid.jetty.version> |
| <druid.derby.version>10.11.1.1</druid.derby.version> |
| <druid.guava.version>16.0.1</druid.guava.version> |
| <druid.guice.version>4.1.0</druid.guice.version> |
| <kafka.version>0.10.2.0</kafka.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>io.druid</groupId> |
| <artifactId>druid-server</artifactId> |
| <version>${druid.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jersey-server</artifactId> |
| <groupId>com.sun.jersey</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jersey-servlet</artifactId> |
| <groupId>com.sun.jersey</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jersey-core</artifactId> |
| <groupId>com.sun.jersey</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.druid</groupId> |
| <artifactId>druid-services</artifactId> |
| <version>${druid.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jersey-server</artifactId> |
| <groupId>com.sun.jersey</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jersey-servlet</artifactId> |
| <groupId>com.sun.jersey</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jersey-core</artifactId> |
| <groupId>com.sun.jersey</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${druid.guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.druid.extensions</groupId> |
| <artifactId>druid-hdfs-storage</artifactId> |
| <version>${druid.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-servlet</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-client</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.druid.extensions</groupId> |
| <artifactId>druid-kafka-indexing-service</artifactId> |
| <version>${druid.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-framework</artifactId> |
| <version>${druid.curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-client</artifactId> |
| <version>${druid.curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-x-discovery</artifactId> |
| <version>${druid.curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.curator</groupId> |
| <artifactId>curator-recipes</artifactId> |
| <version>${druid.curator.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-bundle</artifactId> |
| <version>${druid.jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${druid.jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <version>${druid.jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlets</artifactId> |
| <version>${druid.jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-proxy</artifactId> |
| <version>${druid.jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>${druid.jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-security</artifactId> |
| <version>${druid.jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-annotations</artifactId> |
| <scope>compile</scope> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.inject</groupId> |
| <artifactId>guice</artifactId> |
| <version>${druid.guice.version}</version> |
| </dependency> |
| <!-- inter-project --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka_2.11</artifactId> |
| <version>${kafka.version}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| |
| <plugins> |
| <!-- Maven Shade Plugin --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <version>${maven.shade.plugin.version}</version> |
| <executions> |
| <!-- Run shade goal on package phase --> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| |
| |
| <configuration> |
| <shadeTestJar>false</shadeTestJar> |
| <createDependencyReducedPom>false</createDependencyReducedPom> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>io.druid.cli.Main</mainClass> |
| </transformer> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| </transformers> |
| <artifactSet> |
| <excludes> |
| <exclude>junit:*</exclude> |
| <exclude>jmock:*</exclude> |
| <exclude>*:xml-apis</exclude> |
| <exclude>org.apache.maven:lib:tests</exclude> |
| <exclude>javax.ws.rs:jsr311-api</exclude> |
| <exclude>*:javax.el-api</exclude> |
| <exclude>*:jsp-api*</exclude> |
| </excludes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <artifact>*:*</artifact> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </filter> |
| </filters> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| |
| </project> |