File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
seatunnel-connectors-v2/connector-jdbc Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 291
291
<artifactId >oceanbase-client</artifactId >
292
292
</dependency >
293
293
</dependencies >
294
+
295
+ <build >
296
+ <plugins >
297
+ <plugin >
298
+ <groupId >org.apache.maven.plugins</groupId >
299
+ <artifactId >maven-shade-plugin</artifactId >
300
+ <executions >
301
+ <execution >
302
+ <goals >
303
+ <goal >shade</goal >
304
+ </goals >
305
+ <phase >package</phase >
306
+ <configuration >
307
+ <createSourcesJar >false</createSourcesJar >
308
+ <shadeSourcesContent >true</shadeSourcesContent >
309
+ <shadedArtifactAttached >false</shadedArtifactAttached >
310
+ <createDependencyReducedPom >false</createDependencyReducedPom >
311
+ <filters >
312
+ <filter >
313
+ <artifact >*:*</artifact >
314
+ <excludes >
315
+ <exclude >META-INF/*.SF</exclude >
316
+ <exclude >META-INF/*.DSA</exclude >
317
+ <exclude >META-INF/*.RSA</exclude >
318
+ </excludes >
319
+ </filter >
320
+ </filters >
321
+ <relocations >
322
+ <!-- rename hikari to avoid jar conflict from spark -->
323
+ <relocation >
324
+ <pattern >com.zaxxer.hikari</pattern >
325
+ <shadedPattern >${seatunnel.shade.package} .com.zaxxer.hikari</shadedPattern >
326
+ </relocation >
327
+ </relocations >
328
+ </configuration >
329
+ </execution >
330
+ </executions >
331
+ </plugin >
332
+ </plugins >
333
+ </build >
294
334
</project >
You can’t perform that action at this time.
0 commit comments