| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.seatunnel</groupId> |
| <artifactId>seatunnel-connectors-v2</artifactId> |
| <version>2.3.5</version> |
| </parent> |
| |
| <artifactId>connector-iceberg</artifactId> |
| <name>SeaTunnel : Connectors V2 : Iceberg</name> |
| |
| <properties> |
| <iceberg.version>1.4.2</iceberg.version> |
| <parquet-avro.version>1.13.1</parquet-avro.version> |
| <avro.version>1.11.3</avro.version> |
| <hive.version>2.3.9</hive.version> |
| <connector.name>connector-iceberg</connector.name> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>com.github.luben</groupId> |
| <artifactId>zstd-jni</artifactId> |
| <version>1.5.5-5</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.seatunnel</groupId> |
| <artifactId>connector-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-core</artifactId> |
| <version>${iceberg.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-common</artifactId> |
| <version>${iceberg.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-api</artifactId> |
| <version>${iceberg.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-data</artifactId> |
| <version>${iceberg.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-orc</artifactId> |
| <version>${iceberg.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.orc</groupId> |
| <artifactId>orc-core</artifactId> |
| <version>1.7.5</version> |
| <classifier>nohive</classifier> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-parquet</artifactId> |
| <version>${iceberg.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.parquet</groupId> |
| <artifactId>parquet-avro</artifactId> |
| <version>${parquet-avro.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| <version>${avro.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-hive-metastore</artifactId> |
| <version>${iceberg.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| <version>${hive.version}</version> |
| <classifier>core</classifier> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.pentaho</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.parquet</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.orc</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.seatunnel</groupId> |
| <artifactId>seatunnel-hadoop3-3.1.4-uber</artifactId> |
| <version>${project.version}</version> |
| <classifier>optional</classifier> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.iceberg</groupId> |
| <artifactId>iceberg-hive-metastore</artifactId> |
| <version>${iceberg.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| <version>${hive.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.pentaho</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>10.14.2.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-rdbms</artifactId> |
| <version>4.1.17</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.datanucleus</groupId> |
| <artifactId>datanucleus-api-jdo</artifactId> |
| <version>4.1.4</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-dbcp</groupId> |
| <artifactId>commons-dbcp</artifactId> |
| <version>1.4</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.jolbox</groupId> |
| <artifactId>bonecp</artifactId> |
| <version>0.8.0.RELEASE</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.2</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <phase>package</phase> |
| <configuration> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.avro</pattern> |
| <!--suppress UnresolvedMavenProperty, this property is added by submodule--> |
| <shadedPattern>${seatunnel.shade.package}.${connector.name}.org.apache.avro</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.orc</pattern> |
| <shadedPattern>${seatunnel.shade.package}.${connector.name}.org.apache.orc</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.parquet</pattern> |
| <!--suppress UnresolvedMavenProperty --> |
| <shadedPattern>${seatunnel.shade.package}.${connector.name}.org.apache.parquet</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>shaded.parquet</pattern> |
| <!--suppress UnresolvedMavenProperty --> |
| <shadedPattern>${seatunnel.shade.package}.${connector.name}.shaded.parquet</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |