| <?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>be-java-extensions</artifactId> |
| <groupId>org.apache.doris</groupId> |
| <version>${revision}</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>hadoop-hudi-scanner</artifactId> |
| |
| <properties> |
| <doris.home>${basedir}/../../</doris.home> |
| <fe_ut_parallel>1</fe_ut_parallel> |
| <luben.zstd.jni.version>1.5.4-2</luben.zstd.jni.version> |
| <hive-apache.version>3.1.2-22</hive-apache.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.doris</groupId> |
| <artifactId>java-common</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-hdfs-client</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-aws</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-mapreduce-client-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.hudi/hudi-common --> |
| <dependency> |
| <groupId>org.apache.hudi</groupId> |
| <artifactId>hudi-common</artifactId> |
| <version>${hudi.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-client</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-server</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.hudi/hudi-io --> |
| <dependency> |
| <groupId>org.apache.hudi</groupId> |
| <artifactId>hudi-io</artifactId> |
| <version>${hudi.version}</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.hudi/hudi-hadoop-mr --> |
| <dependency> |
| <groupId>org.apache.hudi</groupId> |
| <artifactId>hudi-hadoop-mr</artifactId> |
| <version>${hudi.version}</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.parquet/parquet-hadoop --> |
| <dependency> |
| <groupId>org.apache.parquet</groupId> |
| <artifactId>parquet-hadoop-bundle</artifactId> |
| <version>${parquet.version}</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.parquet/parquet-avro --> |
| <dependency> |
| <groupId>org.apache.parquet</groupId> |
| <artifactId>parquet-avro</artifactId> |
| <version>${parquet.version}</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/org.apache.avro/avro --> |
| <dependency> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| <version>${avro.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-compress</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.airlift</groupId> |
| <artifactId>concurrent</artifactId> |
| <version>202</version> |
| </dependency> |
| |
| <!-- https://mvnrepository.com/artifact/io.airlift/aircompressor --> |
| <dependency> |
| <groupId>io.airlift</groupId> |
| <artifactId>aircompressor</artifactId> |
| <version>${aircompressor.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.github.luben</groupId> |
| <artifactId>zstd-jni</artifactId> |
| <version>${luben.zstd.jni.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.esotericsoftware</groupId> |
| <artifactId>kryo-shaded</artifactId> |
| <version>4.0.2</version> |
| </dependency> |
| |
| <!-- hive --> |
| <dependency> |
| <groupId>io.trino.hive</groupId> |
| <artifactId>hive-apache</artifactId> |
| <version>${hive-apache.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.parquet</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>io.airlift</groupId> |
| <artifactId>aircompressor</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>hadoop-hudi-scanner</finalName> |
| <directory>${project.basedir}/target/</directory> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/resources/package.xml</descriptor> |
| </descriptors> |
| <archive> |
| <manifest> |
| <mainClass></mainClass> |
| </manifest> |
| </archive> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |