|
| 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 | +<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 | + |
| 24 | + <modelVersion>4.0.0</modelVersion> |
| 25 | + |
| 26 | + <parent> |
| 27 | + <groupId>org.apache.flink</groupId> |
| 28 | + <artifactId>flink-connector-kudu-parent</artifactId> |
| 29 | + <version>2.0-SNAPSHOT</version> |
| 30 | + </parent> |
| 31 | + |
| 32 | + <artifactId>flink-sql-connector-kudu</artifactId> |
| 33 | + <name>Flink : Connectors : SQL : Kudu</name> |
| 34 | + <packaging>jar</packaging> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + <dependency> |
| 38 | + <groupId>org.apache.flink</groupId> |
| 39 | + <artifactId>flink-connector-kudu</artifactId> |
| 40 | + <version>${project.version}</version> |
| 41 | + </dependency> |
| 42 | + </dependencies> |
| 43 | + |
| 44 | + <build> |
| 45 | + <plugins> |
| 46 | + <plugin> |
| 47 | + <groupId>org.apache.maven.plugins</groupId> |
| 48 | + <artifactId>maven-shade-plugin</artifactId> |
| 49 | + <executions> |
| 50 | + <execution> |
| 51 | + <id>shade-flink</id> |
| 52 | + <phase>package</phase> |
| 53 | + <goals> |
| 54 | + <goal>shade</goal> |
| 55 | + </goals> |
| 56 | + <configuration> |
| 57 | + <artifactSet> |
| 58 | + <includes> |
| 59 | + <include>*:*</include> |
| 60 | + </includes> |
| 61 | + <excludes> |
| 62 | + <exclude>com.google.code.findbugs:jsr305</exclude> |
| 63 | + <exclude>org.apache.yetus:*</exclude> |
| 64 | + <exclude>org.slf4j:*</exclude> |
| 65 | + </excludes> |
| 66 | + </artifactSet> |
| 67 | + <filters> |
| 68 | + <filter> |
| 69 | + <artifact>*:*</artifact> |
| 70 | + <excludes> |
| 71 | + <exclude>META-INF/native/libnetty**</exclude> |
| 72 | + <exclude>META-INF/native-image/**</exclude> |
| 73 | + <exclude>META-INF/services/reactor.blockhound.integration.BlockHoundIntegration</exclude> |
| 74 | + <exclude>META-INF/io.netty.versions.properties</exclude> |
| 75 | + <exclude>META-INF/micrometer-core.properties</exclude> |
| 76 | + <exclude>META-INF/LICENSE.txt</exclude> |
| 77 | + </excludes> |
| 78 | + </filter> |
| 79 | + </filters> |
| 80 | + <relocations> |
| 81 | + <relocation> |
| 82 | + <pattern>org.apache.kudu</pattern> |
| 83 | + <shadedPattern>org.apache.flink.kudu.shaded.org.apache.kudu</shadedPattern> |
| 84 | + </relocation> |
| 85 | + </relocations> |
| 86 | + </configuration> |
| 87 | + </execution> |
| 88 | + </executions> |
| 89 | + </plugin> |
| 90 | + </plugins> |
| 91 | + </build> |
| 92 | + |
| 93 | +</project> |
0 commit comments