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, software
14+ ~ distributed under the License is distributed on an "AS IS" BASIS,
15+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ ~ See the License for the specific language governing permissions and
17+ ~ limitations under the License.
18+ -->
19+
20+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
21+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
22+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
23+ <modelVersion >4.0.0</modelVersion >
24+ <parent >
25+ <groupId >com.qlangtech.tis.plugins</groupId >
26+ <artifactId >tis-incr</artifactId >
27+ <version >${revision} </version >
28+ <relativePath >../pom.xml</relativePath >
29+ </parent >
30+
31+ <artifactId >tis-flink-cdc-common-plugin-shade-4-debuezium</artifactId >
32+
33+ <properties >
34+
35+ </properties >
36+
37+ <dependencies >
38+ <dependency >
39+ <groupId >org.apache.flink</groupId >
40+ <artifactId >flink-connector-debezium</artifactId >
41+ <version >${flink.cdc.version} </version >
42+ </dependency >
43+ </dependencies >
44+
45+ <build >
46+ <plugins >
47+
48+ <!-- Build uber jar -->
49+ <plugin >
50+ <groupId >org.apache.maven.plugins</groupId >
51+ <artifactId >maven-shade-plugin</artifactId >
52+ <executions >
53+ <execution >
54+ <phase >package</phase >
55+ <goals >
56+ <goal >shade</goal >
57+ </goals >
58+ <configuration >
59+ <createDependencyReducedPom >false</createDependencyReducedPom >
60+ <shadedArtifactAttached >false</shadedArtifactAttached >
61+ <!-- <finalName>${project.artifactId}-dist-${project.version}</finalName>-->
62+ <artifactSet >
63+ <excludes >
64+ <exclude >log4j:log4j</exclude >
65+ <exclude >org.slf4j:slf4j-api</exclude >
66+ <exclude >org.codehaus.groovy:groovy-all</exclude >
67+ </excludes >
68+ </artifactSet >
69+ <filters >
70+ <filter >
71+ <artifact >*:*</artifact >
72+ <excludes >
73+ <exclude >META-INF/*.SF</exclude >
74+ <exclude >META-INF/*.DSA</exclude >
75+ <exclude >META-INF/*.RSA</exclude >
76+ </excludes >
77+ </filter >
78+ <filter >
79+ <artifact >io.debezium:debezium-embedded</artifact >
80+ <excludes >
81+ <!-- https://github.com/datavane/tis/issues/454-->
82+ <!-- have been rewrite in flink-connector-debezium-->
83+ <exclude >io/debezium/embedded/EmbeddedEngineChangeEvent.class</exclude >
84+ </excludes >
85+ </filter >
86+ <filter >
87+ <artifact >io.debezium:debezium-core</artifact >
88+ <excludes >
89+ <exclude >io/debezium/relational/HistorizedRelationalDatabaseConnectorConfig*</exclude >
90+ <exclude >io/debezium/relational/RelationalChangeRecordEmitter*</exclude >
91+ <exclude >io/debezium/relational/RelationalTableFilters*</exclude >
92+ </excludes >
93+ </filter >
94+ </filters >
95+ </configuration >
96+ </execution >
97+
98+ </executions >
99+ </plugin >
100+
101+ </plugins >
102+ </build >
103+
104+ </project >
0 commit comments