- Redo all classes based on org.parquet only - remove unuused dependencies like parquet-hadoop, common-configuration2 - timeline-service does not build a fat jar anymore - Fix utilities and hadoop-mr bundles based on above
231 lines
8.3 KiB
XML
231 lines
8.3 KiB
XML
<?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>hudi</artifactId>
|
|
<groupId>org.apache.hudi</groupId>
|
|
<version>0.5.0-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>hudi-presto-bundle</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<!-- Hoodie -->
|
|
<dependency>
|
|
<groupId>org.apache.hudi</groupId>
|
|
<artifactId>hudi-common</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hudi</groupId>
|
|
<artifactId>hudi-hadoop-mr-bundle</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Logging -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Thrift -->
|
|
<dependency>
|
|
<groupId>org.apache.thrift</groupId>
|
|
<artifactId>libthrift</artifactId>
|
|
<version>${thrift.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Apache Commons -->
|
|
<dependency>
|
|
<groupId>commons-dbcp</groupId>
|
|
<artifactId>commons-dbcp</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.beust</groupId>
|
|
<artifactId>jcommander</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Httpcomponents-->
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Hadoop -->
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-common</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-auth</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createSourcesJar>true</createSourcesJar>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.beust.</pattern>
|
|
<shadedPattern>org.apache.hudi.com.beust.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.joda.</pattern>
|
|
<shadedPattern>org.apache.hudi.org.joda.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.google.</pattern>
|
|
<shadedPattern>org.apache.hudi.com.google.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.slf4j.</pattern>
|
|
<shadedPattern>org.apache.hudi.org.slf4j.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.apache.commons.</pattern>
|
|
<shadedPattern>org.apache.hudi.org.apache.commons.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>parquet.column</pattern>
|
|
<shadedPattern>org.apache.hudi.parquet.column</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>parquet.format.</pattern>
|
|
<shadedPattern>org.apache.hudi.parquet.format.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>parquet.hadoop.</pattern>
|
|
<shadedPattern>org.apache.hudi.parquet.hadoop.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>parquet.schema.</pattern>
|
|
<shadedPattern>org.apache.hudi.parquet.schema.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.esotericsoftware.kryo.</pattern>
|
|
<shadedPattern>org.apache.hudi.com.esotericsoftware.kryo.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.objenesis.</pattern>
|
|
<shadedPattern>org.apache.hudi.org.objenesis.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.esotericsoftware.minlog.</pattern>
|
|
<shadedPattern>org.apache.hudi.com.esotericsoftware.minlog.</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>log4j:log4j</exclude>
|
|
<exclude>org.apache.hadoop:*</exclude>
|
|
<exclude>org.apache.hive:*</exclude>
|
|
<exclude>org.apache.derby:derby</exclude>
|
|
<!--Already a dependency in presto-hive connector-->
|
|
<exclude>org.apache.thrift:*</exclude>
|
|
<!--Provided by aws-java-sdk-core dependency in presto-hive connector-->
|
|
<exclude>org.apache.httpcomponents:*</exclude>
|
|
<!--Provided by hive-hadoop2-->
|
|
<exclude>com.fasterxml.jackson.core:*</exclude>
|
|
<exclude>com.fasterxml.jackson.datatype:jackson-datatype-guava</exclude>
|
|
<exclude>org.apache.parquet:*</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
<!-- Use this jar's NOTICE and license file -->
|
|
<exclude>META-INF/NOTICE*</exclude>
|
|
<exclude>META-INF/LICENSE*</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<checkstyle.skip>true</checkstyle.skip>
|
|
<notice.dir>${project.basedir}/src/main/resources/META-INF</notice.dir>
|
|
<notice.file>HUDI_NOTICE.txt</notice.file>
|
|
</properties>
|
|
</project>
|