1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!--
3+ ~ Copyright 2023 Ververica Inc.
4+ ~
5+ ~ Licensed under the Apache License, Version 2.0 (the "License");
6+ ~ you may not use this file except in compliance with the License.
7+ ~ You may obtain a copy of the License at
8+ ~
9+ ~ http://www.apache.org/licenses/LICENSE-2.0
10+ ~
11+ ~ Unless required by applicable law or agreed to in writing, software
12+ ~ distributed under the License is distributed on an "AS IS" BASIS,
13+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ ~ See the License for the specific language governing permissions and
15+ ~ limitations under the License.
16+ -->
17+
18+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
19+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
20+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
21+ <parent >
22+ <groupId >org.apache.flink</groupId >
23+ <artifactId >flink-cdc-pipeline-connectors</artifactId >
24+ <version >${revision} </version >
25+ </parent >
26+ <modelVersion >4.0.0</modelVersion >
27+
28+ <artifactId >flink-cdc-pipeline-connector-oracle</artifactId >
29+
30+ <properties >
31+ </properties >
32+
33+ <dependencies >
34+ <dependency >
35+ <groupId >io.debezium</groupId >
36+ <artifactId >debezium-core</artifactId >
37+ <version >${debezium.version} </version >
38+ </dependency >
39+ <dependency >
40+ <groupId >io.debezium</groupId >
41+ <artifactId >debezium-ddl-parser</artifactId >
42+ <version >${debezium.version} </version >
43+ <exclusions >
44+ <exclusion >
45+ <artifactId >debezium-core</artifactId >
46+ <groupId >io.debezium</groupId >
47+ </exclusion >
48+ </exclusions >
49+ </dependency >
50+
51+ <dependency >
52+ <groupId >org.apache.flink</groupId >
53+ <artifactId >flink-table-planner_${scala.binary.version}</artifactId >
54+ <version >${flink.version} </version >
55+ <scope >test</scope >
56+ </dependency >
57+
58+ <dependency >
59+ <groupId >org.apache.flink</groupId >
60+ <artifactId >flink-table-runtime</artifactId >
61+ <version >${flink.version} </version >
62+ <scope >test</scope >
63+ </dependency >
64+
65+ <dependency >
66+ <groupId >org.apache.flink</groupId >
67+ <artifactId >flink-test-utils</artifactId >
68+ <version >${flink.version} </version >
69+ <scope >test</scope >
70+ </dependency >
71+
72+ <dependency >
73+ <groupId >org.apache.flink</groupId >
74+ <artifactId >flink-connector-test-utils</artifactId >
75+ <version >${flink.version} </version >
76+ <scope >test</scope >
77+ </dependency >
78+
79+ <dependency >
80+ <groupId >org.apache.flink</groupId >
81+ <artifactId >flink-core</artifactId >
82+ <version >${flink.version} </version >
83+ <type >test-jar</type >
84+ <scope >test</scope >
85+ </dependency >
86+
87+ <dependency >
88+ <groupId >org.apache.flink</groupId >
89+ <artifactId >flink-streaming-java</artifactId >
90+ <version >${flink.version} </version >
91+ <type >test-jar</type >
92+ <scope >test</scope >
93+ </dependency >
94+
95+ <dependency >
96+ <groupId >org.apache.flink</groupId >
97+ <artifactId >flink-table-common</artifactId >
98+ <version >${flink.version} </version >
99+ <type >test-jar</type >
100+ <scope >test</scope >
101+ </dependency >
102+
103+ <dependency >
104+ <groupId >org.apache.flink</groupId >
105+ <artifactId >flink-tests</artifactId >
106+ <version >${flink.version} </version >
107+ <type >test-jar</type >
108+ <scope >test</scope >
109+ </dependency >
110+
111+ <dependency >
112+ <groupId >org.apache.flink</groupId >
113+ <artifactId >flink-table-planner_${scala.binary.version}</artifactId >
114+ <version >${flink.version} </version >
115+ <type >test-jar</type >
116+ <scope >test</scope >
117+ </dependency >
118+
119+ <!-- test dependencies on TestContainers -->
120+
121+ <dependency >
122+ <groupId >org.testcontainers</groupId >
123+ <artifactId >oracle-xe</artifactId >
124+ <version >${testcontainers.version} </version >
125+ <scope >test</scope >
126+ </dependency >
127+ <!-- geometry dependencies -->
128+ <dependency >
129+ <groupId >com.esri.geometry</groupId >
130+ <artifactId >esri-geometry-api</artifactId >
131+ <version >${geometry.version} </version >
132+ <exclusions >
133+ <exclusion >
134+ <groupId >com.fasterxml.jackson.core</groupId >
135+ <artifactId >jackson-core</artifactId >
136+ </exclusion >
137+ </exclusions >
138+ </dependency >
139+ <dependency >
140+ <groupId >org.apache.flink</groupId >
141+ <artifactId >flink-connector-oracle-cdc</artifactId >
142+ <version >${parent.version} </version >
143+ </dependency >
144+
145+ <dependency >
146+ <groupId >com.jayway.jsonpath</groupId >
147+ <artifactId >json-path</artifactId >
148+ <version >${json-path.version} </version >
149+ <scope >test</scope >
150+ </dependency >
151+ <dependency >
152+ <groupId >org.apache.flink</groupId >
153+ <artifactId >flink-connector-test-util</artifactId >
154+ <version >${parent.version} </version >
155+ <scope >test</scope >
156+ </dependency >
157+ </dependencies >
158+
159+ <build >
160+ <plugins >
161+ <plugin >
162+ <groupId >org.apache.maven.plugins</groupId >
163+ <artifactId >maven-shade-plugin</artifactId >
164+ <version >3.2.4</version >
165+ <executions >
166+ <execution >
167+ <id >shade-flink</id >
168+ <phase >package</phase >
169+ <goals >
170+ <goal >shade</goal >
171+ </goals >
172+ <configuration >
173+ <shadeTestJar >false</shadeTestJar >
174+ <artifactSet >
175+ <includes >
176+ <include >io.debezium:debezium-api</include >
177+ <include >io.debezium:debezium-embedded</include >
178+ <include >io.debezium:debezium-core</include >
179+ <include >io.debezium:debezium-ddl-parser</include >
180+ <include >io.debezium:debezium-connector-oracle</include >
181+ <include >org.apache.flink:flink-connector-debezium</include >
182+ <include >org.apache.flink:flink-connector-oracle-cdc</include >
183+ <include >org.apache.flink:flink-cdc-base</include >
184+ <include >com.oracle.ojdbc:ojdbc8</include >
185+ <include >cn.easyproject:orai18n</include >
186+ <include >org.antlr:antlr4-runtime</include >
187+ <include >org.apache.kafka:*</include >
188+ <include >com.fasterxml.*:*</include >
189+ <include >com.google.guava:*</include >
190+ <include >com.esri.geometry:esri-geometry-api</include >
191+ <include >com.zaxxer:HikariCP</include >
192+ <!-- Include fixed version 30.1.1-jre-14.0 of flink shaded guava -->
193+ <include >org.apache.flink:flink-shaded-guava</include >
194+ </includes >
195+ </artifactSet >
196+ <filters >
197+ <filter >
198+ <artifact >org.apache.kafka:*</artifact >
199+ <excludes >
200+ <exclude >kafka/kafka-version.properties</exclude >
201+ <exclude >LICENSE</exclude >
202+ <!-- Does not contain anything relevant.
203+ Cites a binary dependency on jersey, but this is neither reflected in the
204+ dependency graph, nor are any jersey files bundled. -->
205+ <exclude >NOTICE</exclude >
206+ <exclude >common/**</exclude >
207+ </excludes >
208+ </filter >
209+ </filters >
210+ <relocations >
211+ <relocation >
212+ <pattern >org.apache.kafka</pattern >
213+ <shadedPattern >
214+ org.apache.flink.cdc.connectors.shaded.org.apache.kafka
215+ </shadedPattern >
216+ </relocation >
217+ <relocation >
218+ <pattern >org.antlr</pattern >
219+ <shadedPattern >
220+ org.apache.flink.cdc.connectors.shaded.org.antlr
221+ </shadedPattern >
222+ </relocation >
223+ <relocation >
224+ <pattern >com.fasterxml</pattern >
225+ <shadedPattern >
226+ org.apache.flink.cdc.connectors.shaded.com.fasterxml
227+ </shadedPattern >
228+ </relocation >
229+ <relocation >
230+ <pattern >com.google</pattern >
231+ <shadedPattern >
232+ org.apache.flink.cdc.connectors.shaded.com.google
233+ </shadedPattern >
234+ </relocation >
235+ <relocation >
236+ <pattern >com.esri.geometry</pattern >
237+ <shadedPattern >org.apache.flink.cdc.connectors.shaded.com.esri.geometry</shadedPattern >
238+ </relocation >
239+ <relocation >
240+ <pattern >com.zaxxer</pattern >
241+ <shadedPattern >
242+ org.apache.flink.cdc.connectors.shaded.com.zaxxer
243+ </shadedPattern >
244+ </relocation >
245+ </relocations >
246+ </configuration >
247+ </execution >
248+ </executions >
249+ </plugin >
250+
251+ <plugin >
252+ <groupId >org.apache.maven.plugins</groupId >
253+ <artifactId >maven-jar-plugin</artifactId >
254+ <executions >
255+ <execution >
256+ <id >test-jar</id >
257+ <goals >
258+ <goal >test-jar</goal >
259+ </goals >
260+ </execution >
261+ </executions >
262+ </plugin >
263+ </plugins >
264+ </build >
265+
266+ </project >
0 commit comments