226 lines
8.5 KiB
XML
226 lines
8.5 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.11.0-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>hudi-hadoop-mr-bundle</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<checkstyle.skip>true</checkstyle.skip>
|
|
<main.basedir>${project.parent.basedir}</main.basedir>
|
|
</properties>
|
|
|
|
<build>
|
|
<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>${maven-shade-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<createSourcesJar>${shadeSources}</createSourcesJar>
|
|
<dependencyReducedPomLocation>${project.build.directory}/dependency-reduced-pom.xml
|
|
</dependencyReducedPomLocation>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer">
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
|
|
<addHeader>true</addHeader>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
|
|
<resource>META-INF/LICENSE</resource>
|
|
<file>target/classes/META-INF/LICENSE</file>
|
|
</transformer>
|
|
</transformers>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>org.apache.hudi:hudi-common</include>
|
|
<include>org.apache.hudi:hudi-hadoop-mr</include>
|
|
|
|
<!-- TODO(HUDI-3239) remove this -->
|
|
<include>org.scala-lang:scala-library</include>
|
|
|
|
<include>org.apache.parquet:parquet-avro</include>
|
|
<include>org.apache.avro:avro</include>
|
|
<include>com.esotericsoftware:kryo-shaded</include>
|
|
<include>org.objenesis:objenesis</include>
|
|
<include>com.esotericsoftware:minlog</include>
|
|
<include>org.apache.hbase:hbase-common</include>
|
|
<include>org.apache.hbase:hbase-client</include>
|
|
<include>org.apache.hbase:hbase-protocol</include>
|
|
<include>org.apache.hbase:hbase-server</include>
|
|
<include>org.apache.htrace:htrace-core</include>
|
|
<include>com.yammer.metrics:metrics-core</include>
|
|
<include>com.google.guava:guava</include>
|
|
</includes>
|
|
</artifactSet>
|
|
<relocations>
|
|
<relocation>
|
|
<pattern>com.yammer.metrics.</pattern>
|
|
<shadedPattern>org.apache.hudi.com.yammer.metrics.</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>
|
|
<relocation>
|
|
<pattern>org.apache.avro.</pattern>
|
|
<shadedPattern>org.apache.hudi.org.apache.avro.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>org.apache.parquet.avro.</pattern>
|
|
<shadedPattern>org.apache.hudi.org.apache.parquet.avro.</shadedPattern>
|
|
</relocation>
|
|
<relocation>
|
|
<pattern>com.google.common.</pattern>
|
|
<shadedPattern>org.apache.hudi.com.google.common.</shadedPattern>
|
|
</relocation>
|
|
</relocations>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
<exclude>META-INF/services/javax.*</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/test/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<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</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Scala -->
|
|
<!-- TODO(HUDI-3239) remove this dep -->
|
|
<dependency>
|
|
<groupId>org.scala-lang</groupId>
|
|
<artifactId>scala-library</artifactId>
|
|
<version>${scala.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Parquet -->
|
|
<dependency>
|
|
<groupId>org.apache.parquet</groupId>
|
|
<artifactId>parquet-avro</artifactId>
|
|
<version>${parquet.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- Avro -->
|
|
<dependency>
|
|
<groupId>org.apache.avro</groupId>
|
|
<artifactId>avro</artifactId>
|
|
<version>${avro.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.htrace</groupId>
|
|
<artifactId>htrace-core</artifactId>
|
|
<version>${htrace.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- HBase -->
|
|
<dependency>
|
|
<groupId>org.apache.hbase</groupId>
|
|
<artifactId>hbase-common</artifactId>
|
|
<version>${hbase.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.hbase</groupId>
|
|
<artifactId>hbase-server</artifactId>
|
|
<version>${hbase.version}</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.hbase</groupId>
|
|
<artifactId>hbase-common</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>tomcat</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|