<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
  <parent>
    <artifactId>pulsar-protocol-handler-kafka-parent</artifactId>
    <groupId>io.streamnative.pulsar.handlers</groupId>
    <version>2.10.3.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>kafka-0-10</artifactId>
  <name>StreamNative :: Pulsar Protocol Handler :: Kafka Client 0.10.0.0</name>
  <description>The Kafka client wrapper for 0.10.0.0</description>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-shade-plugin</artifactId>
        <version>${maven-shade-plugin.version}</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
            <configuration>
              <relocations>
                <relocation>
                  <pattern>org.apache.kafka.common</pattern>
                  <shadedPattern>org.apache.kafka010.common</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.apache.kafka.clients</pattern>
                  <shadedPattern>org.apache.kafka010.clients</shadedPattern>
                </relocation>
              </relocations>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>
