| <?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>sort-connectors</artifactId> |
| <groupId>org.apache.inlong</groupId> |
| <version>1.3.0</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>sort-connector-iceberg-dlc</artifactId> |
| <name>Apache InLong - Sort-connector-iceberg-dlc</name> |
| <packaging>jar</packaging> |
| <description> |
| DLC is a data lake product. It's storage is based on iceberg. |
| Here is the product: https://cloud.tencent.com/product/dlc |
| </description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.qcloud.cos</groupId> |
| <artifactId>hadoop-cos</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.qcloud</groupId> |
| <artifactId>cos_api-bundle</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.tencentcloudapi</groupId> |
| <artifactId>tencentcloud-sdk-java</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.qcloud</groupId> |
| <artifactId>dlc-data-catalog-metastore-client</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-metastore</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.tencentcloudapi</groupId> |
| <artifactId>tencentcloud-sdk-java</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.okio</groupId> |
| <artifactId>okio</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.okhttp</groupId> |
| <artifactId>okhttp</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup.okhttp</groupId> |
| <artifactId>logging-interceptor</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.ini4j</groupId> |
| <artifactId>ini4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.inlong</groupId> |
| <artifactId>sort-connector-iceberg</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.hive</groupId> |
| <artifactId>hive-exec</artifactId> |
| <version>${dlc.hive.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.calcite.avatica</groupId> |
| <artifactId>avatica</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.pentaho</groupId> |
| <artifactId>pentaho-aggdesigner-algorithm</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>shade-flink</id> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <artifactSet> |
| <includes> |
| <include>org.apache.inlong:*</include> |
| <include>org.apache.iceberg:*</include> |
| <include>org.apache.hive:hive-exec</include> |
| |
| <!--tencent cloud--> |
| <include>com.qcloud.cos:*</include> |
| <include>com.qcloud:*</include> |
| <include>com.tencentcloudapi:*</include> |
| <include>commons-logging:commons-logging</include> |
| <include>com.squareup.okio:okio</include> |
| <include>com.squareup.okhttp:okhttp</include> |
| <include>com.squareup.okhttp:logging-interceptor</include> |
| <include>org.ini4j:ini4j</include> |
| <include>com.google.code.gson:gson</include> |
| </includes> |
| </artifactSet> |
| <filters> |
| <filter> |
| <artifact>org.apache.inlong:sort-connector-*</artifact> |
| <includes> |
| <include>org/apache/inlong/**</include> |
| <include>META-INF/services/org.apache.flink.table.factories.Factory</include> |
| </includes> |
| </filter> |
| </filters> |
| <relocations> |
| <relocation> |
| <pattern>org.apache.parquet</pattern> |
| <shadedPattern>org.apache.hive.shaded.parquet</shadedPattern> |
| </relocation> |
| </relocations> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |