2024-06-11 14:34:39 +00:00
|
|
|
<?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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
2024-07-23 19:24:17 +00:00
|
|
|
<groupId>info.frostfs.sdk</groupId>
|
|
|
|
<artifactId>frostfs-sdk-java</artifactId>
|
2024-06-11 14:34:39 +00:00
|
|
|
<version>0.1.0</version>
|
|
|
|
</parent>
|
|
|
|
|
2024-07-22 16:13:52 +00:00
|
|
|
<artifactId>protos</artifactId>
|
2024-06-11 14:34:39 +00:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<protobuf.version>3.23.0</protobuf.version>
|
2024-07-22 16:13:52 +00:00
|
|
|
<grpc.version>1.65.1</grpc.version>
|
2024-06-11 14:34:39 +00:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-netty</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-protobuf</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-stub</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-services</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
<version>1.3.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>${protobuf.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-bom</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>os-maven-plugin</artifactId>
|
|
|
|
<version>1.6.2</version>
|
|
|
|
</extension>
|
|
|
|
</extensions>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
|
|
|
<version>0.6.1</version>
|
|
|
|
<configuration>
|
|
|
|
<!-- artifact to download binary protobuf compiler -->
|
|
|
|
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
|
|
|
|
<!-- make maven using GRPC plugin for compile-custom and
|
|
|
|
test-compile-custom goals -->
|
|
|
|
<pluginId>grpc-java</pluginId>
|
|
|
|
<!-- artifact to download GRPC protobuf compiler plugin -->
|
|
|
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<!-- compile .proto files located under main directory -->
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>compile-custom</goal>
|
|
|
|
<!-- compile .proto files located under test directory -->
|
|
|
|
<goal>test-compile</goal>
|
|
|
|
<goal>test-compile-custom</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|