Created
February 15, 2018 07:25
-
-
Save galderz/300cc2708eab76b9861985c216b90136 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<groupId>rpcs</groupId> | |
<artifactId>grpc</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<grpc.version>1.9.1</grpc.version> | |
<infinispan.version>9.2.0.CR1</infinispan.version> | |
<!-- plugin versions --> | |
<maven-compiler-plugin.version>3.2</maven-compiler-plugin.version> | |
<os-maven-plugin.version>1.5.0.Final</os-maven-plugin.version> | |
<protobuf-maven-plugin.version>0.5.0</protobuf-maven-plugin.version> | |
</properties> | |
<dependencyManagement> | |
<dependencies> | |
<dependency> | |
<groupId>org.infinispan</groupId> | |
<artifactId>infinispan-bom</artifactId> | |
<version>${infinispan.version}</version> | |
<type>pom</type> | |
<scope>import</scope> | |
</dependency> | |
</dependencies> | |
</dependencyManagement> | |
<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>org.infinispan</groupId> | |
<artifactId>infinispan-core</artifactId> | |
</dependency> | |
</dependencies> | |
<build> | |
<extensions> | |
<extension> | |
<groupId>kr.motd.maven</groupId> | |
<artifactId>os-maven-plugin</artifactId> | |
<version>${os-maven-plugin.version}</version> | |
</extension> | |
</extensions> | |
<plugins> | |
<plugin> | |
<groupId>org.xolstice.maven.plugins</groupId> | |
<artifactId>protobuf-maven-plugin</artifactId> | |
<version>${protobuf-maven-plugin.version}</version> | |
<configuration> | |
<protocArtifact>com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier}</protocArtifact> | |
<pluginId>grpc-java</pluginId> | |
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>compile</goal> | |
<goal>compile-custom</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>${maven-compiler-plugin.version}</version> | |
<configuration> | |
<source>1.8</source> | |
<target>1.8</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment