| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <artifactId>pulsar</artifactId> |
| <groupId>org.apache.pulsar</groupId> |
| <version>2.10.4</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>kafka-connect-avro-converter-shaded</artifactId> |
| <name>Apache Pulsar :: Kafka Connect Avro Converter shaded</name> |
| |
| <dependencies> |
| <!-- confluent connect avro converter --> |
| <dependency> |
| <groupId>io.confluent</groupId> |
| <artifactId>kafka-connect-avro-converter</artifactId> |
| <version>${confluent.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>${shadePluginPhase}</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <createDependencyReducedPom>true</createDependencyReducedPom> |
| <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| |
| <artifactSet> |
| <includes> |
| <include>io.confluent:*</include> |
| <include>io.confluent:kafka-avro-serializer</include> |
| <include>io.confluent:kafka-schema-registry-client</include> |
| <include>io.confluent:common-config</include> |
| <include>io.confluent:common-utils</include> |
| <include>org.apache.avro:*</include> |
| |
| <include>org.codehaus.jackson:jackson-core-asl</include> |
| <include>org.codehaus.jackson:jackson-mapper-asl</include> |
| <include>com.thoughtworks.paranamer:paranamer</include> |
| <include>org.xerial.snappy:snappy-java</include> |
| <include>org.apache.commons:commons-compress</include> |
| <include>org.tukaani:xz</include> |
| </includes> |
| </artifactSet> |
| <relocations> |
| <relocation> |
| <pattern>io.confluent</pattern> |
| <shadedPattern>org.apache.pulsar.kafka.shade.io.confluent</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.avro</pattern> |
| <shadedPattern>org.apache.pulsar.kafka.shade.avro</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.codehaus.jackson</pattern> |
| <shadedPattern>org.apache.pulsar.kafka.shade.org.codehaus.jackson</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>com.thoughtworks.paranamer</pattern> |
| <shadedPattern>org.apache.pulsar.kafka.shade.com.thoughtworks.paranamer</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.xerial.snappy</pattern> |
| <shadedPattern>org.apache.pulsar.kafka.shade.org.xerial.snappy</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.apache.commons</pattern> |
| <shadedPattern>org.apache.pulsar.kafka.shade.org.apache.commons</shadedPattern> |
| </relocation> |
| <relocation> |
| <pattern>org.tukaani</pattern> |
| <shadedPattern>org.apache.pulsar.kafka.shade.org.tukaani</shadedPattern> |
| </relocation> |
| </relocations> |
| <transformers> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.PluginXmlResourceTransformer" /> |
| </transformers> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |