|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Licensed to the Apache Software Foundation (ASF) under one |
| 4 | + ~ or more contributor license agreements. See the NOTICE file |
| 5 | + ~ distributed with this work for additional information |
| 6 | + ~ regarding copyright ownership. The ASF licenses this file |
| 7 | + ~ to you under the Apache License, Version 2.0 (the |
| 8 | + ~ "License"); you may not use this file except in compliance |
| 9 | + ~ with the License. You may obtain a copy of the License at |
| 10 | + ~ |
| 11 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | + ~ |
| 13 | + ~ Unless required by applicable law or agreed to in writing, |
| 14 | + ~ software distributed under the License is distributed on an |
| 15 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | + ~ KIND, either express or implied. See the License for the |
| 17 | + ~ specific language governing permissions and limitations |
| 18 | + ~ under the License. |
| 19 | +--> |
| 20 | + |
| 21 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 23 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | + <parent> |
| 25 | + <artifactId>chunjun-connectors</artifactId> |
| 26 | + <groupId>com.dtstack.chunjun</groupId> |
| 27 | + <version>${revision}</version> |
| 28 | + </parent> |
| 29 | + <modelVersion>4.0.0</modelVersion> |
| 30 | + |
| 31 | + <artifactId>chunjun-connector-arctic</artifactId> |
| 32 | + <name>ChunJun : Connector : Arctic</name> |
| 33 | + |
| 34 | + <properties> |
| 35 | + <hadoop.version>2.7.5</hadoop.version> |
| 36 | + <iceberg.version>0.13.2</iceberg.version> |
| 37 | + <arctic.version>0.4.0</arctic.version> |
| 38 | + <connector.dir>arctic</connector.dir> |
| 39 | + </properties> |
| 40 | + |
| 41 | + <dependencies> |
| 42 | + |
| 43 | + <dependency> |
| 44 | + <groupId>commons-cli</groupId> |
| 45 | + <artifactId>commons-cli</artifactId> |
| 46 | + <version>1.3.1</version> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>org.apache.hadoop</groupId> |
| 50 | + <artifactId>hadoop-auth</artifactId> |
| 51 | + <version>${hadoop3.version}</version> |
| 52 | + </dependency> |
| 53 | + |
| 54 | + <dependency> |
| 55 | + <groupId>org.apache.avro</groupId> |
| 56 | + <artifactId>avro</artifactId> |
| 57 | + <version>1.10.0</version> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + <dependency> |
| 61 | + <groupId>org.apache.hadoop</groupId> |
| 62 | + <artifactId>hadoop-hdfs</artifactId> |
| 63 | + <version>${hadoop.version}</version> |
| 64 | + <exclusions> |
| 65 | + <exclusion> |
| 66 | + <artifactId>commons-cli</artifactId> |
| 67 | + <groupId>commons-cli</groupId> |
| 68 | + </exclusion> |
| 69 | + </exclusions> |
| 70 | + </dependency> |
| 71 | + |
| 72 | + <dependency> |
| 73 | + <groupId>org.apache.hadoop</groupId> |
| 74 | + <artifactId>hadoop-common</artifactId> |
| 75 | + <version>${hadoop.version}</version> |
| 76 | + <exclusions> |
| 77 | + <exclusion> |
| 78 | + <artifactId>commons-cli</artifactId> |
| 79 | + <groupId>commons-cli</groupId> |
| 80 | + </exclusion> |
| 81 | + <exclusion> |
| 82 | + <groupId>org.apache.hadoop</groupId> |
| 83 | + <artifactId>hadoop-auth</artifactId> |
| 84 | + </exclusion> |
| 85 | + <exclusion> |
| 86 | + <groupId>org.apache.commons</groupId> |
| 87 | + <artifactId>commons-math3</artifactId> |
| 88 | + </exclusion> |
| 89 | + </exclusions> |
| 90 | + </dependency> |
| 91 | + |
| 92 | + <dependency> |
| 93 | + <groupId>org.apache.hadoop</groupId> |
| 94 | + <artifactId>hadoop-mapreduce-client-core</artifactId> |
| 95 | + <version>${hadoop2.version}</version> |
| 96 | + </dependency> |
| 97 | + |
| 98 | + <dependency> |
| 99 | + <groupId>com.netease.arctic</groupId> |
| 100 | + <artifactId>arctic-flink-1.12</artifactId> |
| 101 | + <version>${arctic.version}</version> |
| 102 | + </dependency> |
| 103 | + </dependencies> |
| 104 | + |
| 105 | + <build> |
| 106 | + <plugins> |
| 107 | + <plugin> |
| 108 | + <groupId>org.apache.maven.plugins</groupId> |
| 109 | + <artifactId>maven-shade-plugin</artifactId> |
| 110 | + <version>3.1.0</version> |
| 111 | + <executions> |
| 112 | + <execution> |
| 113 | + <phase>package</phase> |
| 114 | + <goals> |
| 115 | + <goal>shade</goal> |
| 116 | + </goals> |
| 117 | + <configuration> |
| 118 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 119 | + <artifactSet> |
| 120 | + <excludes> |
| 121 | + <!-- <exclude>commons-cli:commons-cli</exclude>--> |
| 122 | + <!-- <exclude>org.apache.avro:avro</exclude>--> |
| 123 | + <!-- <exclude>org.apache.hadoop:hadoop-mapreduce-client-core</exclude>--> |
| 124 | + <exclude>org.slf4j:slf4j-api</exclude> |
| 125 | + <exclude>log4j:log4j</exclude> |
| 126 | + <exclude>ch.qos.logback:*</exclude> |
| 127 | + </excludes> |
| 128 | + </artifactSet> |
| 129 | + <filters> |
| 130 | + <filter> |
| 131 | + <artifact>org.apache.hadoop:hadoop-mapreduce-client-core</artifact> |
| 132 | + <includes> |
| 133 | + <include>**</include> |
| 134 | + </includes> |
| 135 | + </filter> |
| 136 | + <filter> |
| 137 | + <artifact>*:*</artifact> |
| 138 | + <excludes> |
| 139 | + <exclude>META-INF/*.SF</exclude> |
| 140 | + <exclude>META-INF/*.DSA</exclude> |
| 141 | + <exclude>META-INF/*.RSA</exclude> |
| 142 | + </excludes> |
| 143 | + </filter> |
| 144 | + </filters> |
| 145 | + <relocations> |
| 146 | + <relocation> |
| 147 | + <pattern>org.apache.avro</pattern> |
| 148 | + <shadedPattern>org.apache.flink.avro.shaded.org.apache.avro</shadedPattern> |
| 149 | + </relocation> |
| 150 | + </relocations> |
| 151 | + </configuration> |
| 152 | + </execution> |
| 153 | + </executions> |
| 154 | + </plugin> |
| 155 | + <plugin> |
| 156 | + <groupId>org.apache.maven.plugins</groupId> |
| 157 | + <artifactId>maven-antrun-plugin</artifactId> |
| 158 | + </plugin> |
| 159 | + </plugins> |
| 160 | + </build> |
| 161 | + |
| 162 | +</project> |
0 commit comments