зеркало из https://github.com/github/vitess-gh.git
77 строки
2.9 KiB
XML
77 строки
2.9 KiB
XML
|
<?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>
|
||
|
<groupId>com.youtube.vitess</groupId>
|
||
|
<artifactId>vitess-parent</artifactId>
|
||
|
<version>1.0-SNAPSHOT</version>
|
||
|
<relativePath>../pom.xml</relativePath>
|
||
|
</parent>
|
||
|
<groupId>com.youtube.vitess</groupId>
|
||
|
<artifactId>grpc-client</artifactId>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>io.grpc</groupId>
|
||
|
<artifactId>grpc-all</artifactId>
|
||
|
<version>${grpc.version}</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<pluginRepositories>
|
||
|
<pluginRepository>
|
||
|
<releases>
|
||
|
<updatePolicy>never</updatePolicy>
|
||
|
</releases>
|
||
|
<snapshots>
|
||
|
<enabled>false</enabled>
|
||
|
</snapshots>
|
||
|
<id>central</id>
|
||
|
<name>Central Repository</name>
|
||
|
<url>https://repo.maven.apache.org/maven2</url>
|
||
|
</pluginRepository>
|
||
|
<pluginRepository>
|
||
|
<id>protoc-plugin</id>
|
||
|
<url>https://dl.bintray.com/sergei-ivanov/maven/</url>
|
||
|
</pluginRepository>
|
||
|
</pluginRepositories>
|
||
|
<build>
|
||
|
<extensions>
|
||
|
<extension>
|
||
|
<groupId>kr.motd.maven</groupId>
|
||
|
<artifactId>os-maven-plugin</artifactId>
|
||
|
<version>1.2.3.Final</version>
|
||
|
</extension>
|
||
|
</extensions>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>com.google.protobuf.tools</groupId>
|
||
|
<artifactId>maven-protoc-plugin</artifactId>
|
||
|
<version>0.4.2</version>
|
||
|
<configuration>
|
||
|
<protocArtifact>com.google.protobuf:protoc:${protobuf.java.version}:exe:${os.detected.classifier}</protocArtifact>
|
||
|
<pluginId>grpc-java</pluginId>
|
||
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
|
||
|
<protoSourceRoot>../../proto</protoSourceRoot>
|
||
|
<includes>
|
||
|
<include>query.proto</include>
|
||
|
<include>topodata.proto</include>
|
||
|
<include>vtgate.proto</include>
|
||
|
<include>vtrpc.proto</include>
|
||
|
</includes>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>compile</goal>
|
||
|
<goal>compile-custom</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
</project>
|