META-INF.maven.cz.o2.proxima.proxima-io-serialization.pom.xml Maven / Gradle / Ivy
<?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>proxima-io</artifactId>
<groupId>cz.o2.proxima</groupId>
<version>0.11.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>proxima-io-serialization</artifactId>
<name>${project.groupId}:${project.artifactId}</name>
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>${maven.ext.os.version}</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>${maven.protobuf.version}</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
<goal>compile-custom</goal>
</goals>
</execution>
</executions>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven.shade.version}</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
<relocations>
<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.google.gson.</pattern>
<shadedPattern>${shadePattern}.com.google.gson.</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<shadePattern>cz.o2.proxima.io.serialization.shaded</shadePattern>
</properties>
</project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy