.proxima-direct-io-kafka.0.5.1.source-code.pom.xml Maven / Gradle / Ivy
<!-- Copyright 2017-2020 O2 Czech Republic, a.s. Licensed 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> <groupId>cz.o2.proxima</groupId> <artifactId>proxima-direct</artifactId> <version>0.5.1</version> </parent> <artifactId>proxima-direct-io-kafka</artifactId> <packaging>jar</packaging> <name>${project.groupId}:${project.artifactId}</name> <properties> <shadePattern>cz.o2.proxima.kafka.shaded</shadePattern> </properties> <build> <plugins> <!-- generate test-jar artifact --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <executions> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>${maven.shade.version}</version> <configuration> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> <artifactSet> <excludes> <!-- exclude proxima and core dependencies --> <exclude>cz.o2.proxima:proxima-core</exclude> <exclude>cz.o2.proxima:proxima-direct-core</exclude> </excludes> </artifactSet> <shadeTestJar>true</shadeTestJar> <relocations> <relocation> <pattern>org.apache.kafka.</pattern> <shadedPattern>${shadePattern}.org.apache.kafka.</shadedPattern> </relocation> <relocation> <pattern>net.sf.</pattern> <shadedPattern>${shadePattern}.net.sf.</shadedPattern> </relocation> <relocation> <pattern>com.yammer.</pattern> <shadedPattern>${shadePattern}.com.yammer.</shadedPattern> </relocation> <relocation> <pattern>scala.</pattern> <shadedPattern>${shadePattern}.scala.</shadedPattern> </relocation> <relocation> <pattern>com.101tec.</pattern> <shadedPattern>${shadePattern}.com.101tec.</shadedPattern> </relocation> <relocation> <pattern>org.apache.zookeeper.</pattern> <shadedPattern>${shadePattern}.org.apache.zookeeper.</shadedPattern> </relocation> <relocation> <pattern>com.google.common.</pattern> <shadedPattern>${coreShade}.com.google.common.</shadedPattern> </relocation> <relocation> <pattern>com.google.protobuf.</pattern> <shadedPattern>${shadePattern}.com.google.protobuf.</shadedPattern> </relocation> <relocation> <pattern>com.fasterxml.</pattern> <shadedPattern>${shadePattern}.com.fasterxml.</shadedPattern> </relocation> </relocations> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>cz.o2.proxima</groupId> <artifactId>proxima-direct-core</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> <version>${kafka.version}</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> <dependency> <groupId>cz.o2.proxima</groupId> <artifactId>proxima-core</artifactId> <version>${project.version}</version> <classifier>tests</classifier> <scope>test</scope> </dependency> <dependency> <groupId>cz.o2.proxima</groupId> <artifactId>proxima-direct-core</artifactId> <version>${project.version}</version> <classifier>tests</classifier> <scope>test</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.11.3</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka-test</artifactId> <version>2.6.1</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </project>