1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!--
3+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
4+ ~ contributor license agreements. See the NOTICE file distributed with
5+ ~ this work for additional information regarding copyright ownership.
6+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
7+ ~ (the "License"); you may not use this file except in compliance with
8+ ~ the License. You may obtain a copy of the License at
9+ ~
10+ ~ http://www.apache.org/licenses/LICENSE-2.0
11+ ~
12+ ~ Unless required by applicable law or agreed to in writing, software
13+ ~ distributed under the License is distributed on an "AS IS" BASIS,
14+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ ~ See the License for the specific language governing permissions and
16+ ~ limitations under the License.
17+ ~
18+ -->
19+
20+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
21+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
22+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
23+ <parent >
24+ <artifactId >apache-skywalking-e2e</artifactId >
25+ <groupId >org.apache.skywalking</groupId >
26+ <version >1.0.0</version >
27+ </parent >
28+ <modelVersion >4.0.0</modelVersion >
29+
30+ <artifactId >e2e-protocol</artifactId >
31+
32+ <properties >
33+ <grpc .version>1.14.0</grpc .version>
34+ <os-maven-plugin .version>1.5.0.Final</os-maven-plugin .version>
35+ <protobuf-maven-plugin .version>0.5.0</protobuf-maven-plugin .version>
36+ </properties >
37+
38+ <dependencies >
39+ <dependency >
40+ <groupId >io.grpc</groupId >
41+ <artifactId >grpc-protobuf</artifactId >
42+ <version >${grpc.version} </version >
43+ </dependency >
44+ <dependency >
45+ <groupId >io.grpc</groupId >
46+ <artifactId >grpc-stub</artifactId >
47+ <version >${grpc.version} </version >
48+ </dependency >
49+ <dependency >
50+ <groupId >io.grpc</groupId >
51+ <artifactId >grpc-netty</artifactId >
52+ <version >${grpc.version} </version >
53+ </dependency >
54+ </dependencies >
55+
56+ <build >
57+ <plugins >
58+ <plugin >
59+ <groupId >kr.motd.maven</groupId >
60+ <artifactId >os-maven-plugin</artifactId >
61+ <version >${os-maven-plugin.version} </version >
62+ <executions >
63+ <execution >
64+ <phase >initialize</phase >
65+ <goals >
66+ <goal >detect</goal >
67+ </goals >
68+ </execution >
69+ </executions >
70+ </plugin >
71+ <plugin >
72+ <groupId >org.xolstice.maven.plugins</groupId >
73+ <artifactId >protobuf-maven-plugin</artifactId >
74+ <version >${protobuf-maven-plugin.version} </version >
75+ <configuration >
76+ <!--
77+ The version of protoc must match protobuf-java. If you don't depend on
78+ protobuf-java directly, you will be transitively depending on the
79+ protobuf-java version that grpc depends on.
80+ -->
81+ <protocArtifact >com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier}
82+ </protocArtifact >
83+ <pluginId >grpc-java</pluginId >
84+ <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.8.0:exe:${os.detected.classifier}
85+ </pluginArtifact >
86+ </configuration >
87+ <executions >
88+ <execution >
89+ <goals >
90+ <goal >compile</goal >
91+ <goal >compile-custom</goal >
92+ </goals >
93+ </execution >
94+ </executions >
95+ </plugin >
96+ </plugins >
97+ </build >
98+ </project >
0 commit comments