1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+
6
+ <parent >
7
+ <artifactId >arthas-all</artifactId >
8
+ <groupId >com.taobao.arthas</groupId >
9
+ <version >${revision} </version >
10
+ <relativePath >../../pom.xml</relativePath >
11
+ </parent >
12
+ <modelVersion >4.0.0</modelVersion >
13
+ <artifactId >arthas-grpc-server</artifactId >
14
+ <name >arthas-grpc-server</name >
15
+ <url >https://github.com/alibaba/arthas</url >
16
+
17
+ <properties >
18
+ <maven .compiler.source>8</maven .compiler.source>
19
+ <maven .compiler.target>8</maven .compiler.target>
20
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
21
+ <grpc .version>1.46.0</grpc .version>
22
+ </properties >
23
+
24
+ <dependencyManagement >
25
+ <dependencies >
26
+ <dependency >
27
+ <groupId >io.grpc</groupId >
28
+ <artifactId >grpc-bom</artifactId >
29
+ <version >${grpc.version} </version >
30
+ <type >pom</type >
31
+ <scope >import</scope >
32
+ </dependency >
33
+ </dependencies >
34
+ </dependencyManagement >
35
+
36
+ <dependencies >
37
+
38
+ <!-- https://mvnrepository.com/artifact/io.netty/netty-codec-http2 -->
39
+ <dependency >
40
+ <groupId >io.netty</groupId >
41
+ <artifactId >netty-codec-http2</artifactId >
42
+ <version >4.1.72.Final</version >
43
+ </dependency >
44
+ <!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
45
+ <dependency >
46
+ <groupId >com.google.protobuf</groupId >
47
+ <artifactId >protobuf-java</artifactId >
48
+ <version >3.19.2</version >
49
+ </dependency >
50
+
51
+ <!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
52
+ <dependency >
53
+ <groupId >org.slf4j</groupId >
54
+ <artifactId >slf4j-api</artifactId >
55
+ <version >2.0.12</version >
56
+ </dependency >
57
+
58
+ <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
59
+ <dependency >
60
+ <groupId >ch.qos.logback</groupId >
61
+ <artifactId >logback-classic</artifactId >
62
+ <version >1.5.0</version >
63
+ </dependency >
64
+
65
+ <dependency >
66
+ <groupId >com.taobao.arthas</groupId >
67
+ <artifactId >arthas-common</artifactId >
68
+ <version >${project.version} </version >
69
+ </dependency >
70
+
71
+
72
+ <!-- 测试用 -->
73
+ <dependency >
74
+ <groupId >io.grpc</groupId >
75
+ <artifactId >grpc-netty</artifactId >
76
+ <scope >provided</scope >
77
+ <exclusions >
78
+ <exclusion >
79
+ <groupId >io.netty</groupId >
80
+ <artifactId >netty-codec-http2</artifactId >
81
+ </exclusion >
82
+ </exclusions >
83
+ </dependency >
84
+ <dependency >
85
+ <groupId >io.grpc</groupId >
86
+ <artifactId >grpc-services</artifactId >
87
+ <scope >provided</scope >
88
+ </dependency >
89
+ <dependency >
90
+ <groupId >org.junit.vintage</groupId >
91
+ <artifactId >junit-vintage-engine</artifactId >
92
+ <scope >test</scope >
93
+ </dependency >
94
+ <dependency >
95
+ <groupId >org.junit.jupiter</groupId >
96
+ <artifactId >junit-jupiter</artifactId >
97
+ <scope >test</scope >
98
+ </dependency >
99
+
100
+ <dependency >
101
+ <groupId >javax.annotation</groupId >
102
+ <artifactId >javax.annotation-api</artifactId >
103
+ <version >1.3.2</version >
104
+ <scope >provided</scope >
105
+ <optional >true</optional >
106
+ </dependency >
107
+ <dependency >
108
+ <groupId >com.alibaba.arthas</groupId >
109
+ <artifactId >arthas-repackage-logger</artifactId >
110
+ </dependency >
111
+ <dependency >
112
+ <groupId >ch.qos.logback</groupId >
113
+ <artifactId >logback-classic</artifactId >
114
+ </dependency >
115
+ <dependency >
116
+ <groupId >ch.qos.logback</groupId >
117
+ <artifactId >logback-core</artifactId >
118
+ </dependency >
119
+ <dependency >
120
+ <groupId >org.slf4j</groupId >
121
+ <artifactId >slf4j-api</artifactId >
122
+ </dependency >
123
+ </dependencies >
124
+
125
+
126
+ <build >
127
+ <plugins >
128
+ <plugin >
129
+ <groupId >org.xolstice.maven.plugins</groupId >
130
+ <artifactId >protobuf-maven-plugin</artifactId >
131
+ <version >0.6.1</version >
132
+ <configuration >
133
+ <protoSourceRoot >${basedir} /src/main/proto</protoSourceRoot >
134
+ <protocArtifact >com.google.protobuf:protoc:3.11.0:exe:${os.detected.classifier} </protocArtifact >
135
+ <pluginId >grpc-java</pluginId >
136
+ <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.28.0:exe:${os.detected.classifier} </pluginArtifact >
137
+ </configuration >
138
+ <executions >
139
+ <execution >
140
+ <goals >
141
+ <goal >compile</goal >
142
+ <goal >compile-custom</goal >
143
+ </goals >
144
+ </execution >
145
+ </executions >
146
+ </plugin >
147
+ </plugins >
148
+ <extensions >
149
+ <extension >
150
+ <groupId >kr.motd.maven</groupId >
151
+ <artifactId >os-maven-plugin</artifactId >
152
+ <version >1.4.1.Final</version >
153
+ </extension >
154
+ </extensions >
155
+ </build >
156
+
157
+ <profiles >
158
+ <profile >
159
+ <id >mac</id >
160
+ <activation >
161
+ <os >
162
+ <family >mac</family >
163
+ </os >
164
+ </activation >
165
+ <properties >
166
+ <os .detected.classifier>osx-x86_64</os .detected.classifier>
167
+ </properties >
168
+ </profile >
169
+ </profiles >
170
+ </project >
0 commit comments