提交 | 用户 | 时间
|
e7c126
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
H |
2 |
<!-- |
|
3 |
~ Copyright 1999-2018 Alibaba Group Holding Ltd. |
|
4 |
~ |
|
5 |
~ Licensed under the Apache License, Version 2.0 (the "License"); |
|
6 |
~ you may not use this file except in compliance with the License. |
|
7 |
~ You may obtain a copy of the License at |
|
8 |
~ |
|
9 |
~ http://www.apache.org/licenses/LICENSE-2.0 |
|
10 |
~ |
|
11 |
~ Unless required by applicable law or agreed to in writing, software |
|
12 |
~ distributed under the License is distributed on an "AS IS" BASIS, |
|
13 |
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
14 |
~ See the License for the specific language governing permissions and |
|
15 |
~ limitations under the License. |
|
16 |
--> |
|
17 |
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|
18 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
19 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
20 |
<modelVersion>4.0.0</modelVersion> |
|
21 |
<parent> |
|
22 |
<groupId>com.iailab</groupId> |
|
23 |
<artifactId>iailab-cloud</artifactId> |
|
24 |
<version>0.0.1</version> |
|
25 |
</parent> |
|
26 |
<artifactId>iailab-nacos</artifactId> |
|
27 |
<packaging>jar</packaging> |
|
28 |
|
|
29 |
<properties> |
|
30 |
<nacos.version>2.3.2</nacos.version> |
|
31 |
<!-- 需要与 Nacos 内置 Boot 版本保持一致 --> |
|
32 |
<nacos.lib.path>${project.basedir}/src/main/resources/lib</nacos.lib.path> |
|
33 |
</properties> |
|
34 |
|
|
35 |
<dependencyManagement> |
|
36 |
<dependencies> |
|
37 |
<!-- SpringBoot 依赖配置 --> |
|
38 |
<dependency> |
|
39 |
<groupId>org.springframework.boot</groupId> |
|
40 |
<artifactId>spring-boot-dependencies</artifactId> |
4a47e4
|
41 |
<version>${spring.boot.version}</version> |
e7c126
|
42 |
<type>pom</type> |
H |
43 |
<scope>import</scope> |
|
44 |
</dependency> |
|
45 |
<dependency> |
|
46 |
<groupId>com.alibaba.nacos</groupId> |
|
47 |
<artifactId>nacos-all</artifactId> |
|
48 |
<version>${nacos.version}</version> |
|
49 |
<type>pom</type> |
|
50 |
<scope>import</scope> |
|
51 |
</dependency> |
|
52 |
</dependencies> |
|
53 |
</dependencyManagement> |
|
54 |
|
|
55 |
<dependencies> |
|
56 |
<dependency> |
|
57 |
<groupId>com.alibaba.nacos</groupId> |
|
58 |
<artifactId>nacos-auth</artifactId> |
|
59 |
<version>${nacos.version}</version> |
|
60 |
<scope>system</scope> |
|
61 |
<systemPath>${nacos.lib.path}/nacos-auth-${nacos.version}.jar</systemPath> |
|
62 |
</dependency> |
|
63 |
<dependency> |
|
64 |
<groupId>com.alibaba.nacos</groupId> |
|
65 |
<artifactId>nacos-cmdb</artifactId> |
|
66 |
<version>${nacos.version}</version> |
|
67 |
<scope>system</scope> |
|
68 |
<systemPath>${nacos.lib.path}/nacos-cmdb-${nacos.version}.jar</systemPath> |
|
69 |
</dependency> |
|
70 |
<dependency> |
|
71 |
<groupId>com.alibaba.nacos</groupId> |
|
72 |
<artifactId>nacos-config</artifactId> |
|
73 |
<version>${nacos.version}</version> |
|
74 |
<scope>system</scope> |
|
75 |
<systemPath>${nacos.lib.path}/nacos-config-${nacos.version}.jar</systemPath> |
|
76 |
</dependency> |
|
77 |
<dependency> |
|
78 |
<groupId>com.alibaba.nacos</groupId> |
|
79 |
<artifactId>nacos-persistence</artifactId> |
|
80 |
<version>${nacos.version}</version> |
|
81 |
<scope>system</scope> |
|
82 |
<systemPath>${nacos.lib.path}/nacos-persistence-${nacos.version}.jar</systemPath> |
|
83 |
</dependency> |
|
84 |
<dependency> |
|
85 |
<groupId>com.alibaba.nacos</groupId> |
|
86 |
<artifactId>nacos-consistency</artifactId> |
|
87 |
<version>${nacos.version}</version> |
|
88 |
<scope>system</scope> |
|
89 |
<systemPath>${nacos.lib.path}/nacos-consistency-${nacos.version}.jar</systemPath> |
|
90 |
</dependency> |
|
91 |
<dependency> |
|
92 |
<groupId>com.alibaba.nacos</groupId> |
|
93 |
<artifactId>nacos-control-plugin</artifactId> |
|
94 |
<version>${nacos.version}</version> |
|
95 |
<scope>system</scope> |
|
96 |
<systemPath>${nacos.lib.path}/nacos-control-plugin-${nacos.version}.jar</systemPath> |
|
97 |
</dependency> |
|
98 |
<dependency> |
|
99 |
<groupId>com.alibaba.nacos</groupId> |
|
100 |
<artifactId>nacos-config-plugin</artifactId> |
|
101 |
<version>${nacos.version}</version> |
|
102 |
<scope>system</scope> |
|
103 |
<systemPath>${nacos.lib.path}/nacos-config-plugin-${nacos.version}.jar</systemPath> |
|
104 |
</dependency> |
|
105 |
<dependency> |
|
106 |
<groupId>com.alibaba.nacos</groupId> |
|
107 |
<artifactId>nacos-core</artifactId> |
|
108 |
<version>${nacos.version}</version> |
|
109 |
<scope>system</scope> |
|
110 |
<systemPath>${nacos.lib.path}/nacos-core-${nacos.version}.jar</systemPath> |
|
111 |
</dependency> |
|
112 |
<dependency> |
|
113 |
<groupId>com.alibaba.nacos</groupId> |
|
114 |
<artifactId>nacos-istio</artifactId> |
|
115 |
<version>${nacos.version}</version> |
|
116 |
<scope>system</scope> |
|
117 |
<systemPath>${nacos.lib.path}/nacos-istio-${nacos.version}.jar</systemPath> |
|
118 |
</dependency> |
|
119 |
<dependency> |
|
120 |
<groupId>com.alibaba.nacos</groupId> |
|
121 |
<artifactId>nacos-naming</artifactId> |
|
122 |
<version>${nacos.version}</version> |
|
123 |
<scope>system</scope> |
|
124 |
<systemPath>${nacos.lib.path}/nacos-naming-${nacos.version}.jar</systemPath> |
|
125 |
</dependency> |
|
126 |
<dependency> |
|
127 |
<groupId>com.alibaba.nacos</groupId> |
|
128 |
<artifactId>default-auth-plugin</artifactId> |
|
129 |
<version>${nacos.version}</version> |
|
130 |
<scope>system</scope> |
|
131 |
<systemPath>${nacos.lib.path}/default-auth-plugin-${nacos.version}.jar</systemPath> |
|
132 |
</dependency> |
|
133 |
<dependency> |
|
134 |
<groupId>com.alibaba.nacos</groupId> |
|
135 |
<artifactId>default-control-plugin</artifactId> |
|
136 |
<version>${nacos.version}</version> |
|
137 |
<scope>system</scope> |
|
138 |
<systemPath>${nacos.lib.path}/default-control-plugin-${nacos.version}.jar</systemPath> |
|
139 |
</dependency> |
|
140 |
<dependency> |
|
141 |
<groupId>com.alibaba.nacos</groupId> |
|
142 |
<artifactId>nacos-prometheus</artifactId> |
|
143 |
<version>${nacos.version}</version> |
|
144 |
<scope>system</scope> |
|
145 |
<systemPath>${nacos.lib.path}/nacos-prometheus-${nacos.version}.jar</systemPath> |
|
146 |
</dependency> |
|
147 |
<dependency> |
|
148 |
<groupId>com.alibaba.nacos</groupId> |
|
149 |
<artifactId>nacos-sys</artifactId> |
|
150 |
<version>${nacos.version}</version> |
|
151 |
<scope>system</scope> |
|
152 |
<systemPath>${nacos.lib.path}/nacos-sys-${nacos.version}.jar</systemPath> |
|
153 |
</dependency> |
|
154 |
<dependency> |
|
155 |
<groupId>com.alibaba.nacos</groupId> |
|
156 |
<artifactId>nacos-custom-environment-plugin</artifactId> |
|
157 |
<version>${nacos.version}</version> |
|
158 |
</dependency> |
|
159 |
<dependency> |
|
160 |
<groupId>com.alibaba.nacos</groupId> |
|
161 |
<artifactId>nacos-datasource-plugin</artifactId> |
|
162 |
<version>${nacos.version}</version> |
|
163 |
</dependency> |
|
164 |
<dependency> |
|
165 |
<groupId>com.alibaba.nacos</groupId> |
|
166 |
<artifactId>nacos-encryption-plugin</artifactId> |
|
167 |
<version>${nacos.version}</version> |
|
168 |
</dependency> |
|
169 |
<dependency> |
|
170 |
<groupId>com.alibaba.nacos</groupId> |
|
171 |
<artifactId>nacos-trace-plugin</artifactId> |
|
172 |
<version>${nacos.version}</version> |
|
173 |
</dependency> |
|
174 |
<dependency> |
|
175 |
<groupId>com.alibaba.nacos</groupId> |
|
176 |
<artifactId>nacos-common</artifactId> |
|
177 |
<version>${nacos.version}</version> |
|
178 |
</dependency> |
|
179 |
<dependency> |
|
180 |
<groupId>com.alibaba.nacos</groupId> |
|
181 |
<artifactId>nacos-client</artifactId> |
|
182 |
</dependency> |
|
183 |
|
|
184 |
<!-- SpringBoot Web容器 --> |
|
185 |
<dependency> |
|
186 |
<groupId>org.springframework.boot</groupId> |
|
187 |
<artifactId>spring-boot-starter-web</artifactId> |
|
188 |
<exclusions> |
|
189 |
<exclusion> |
|
190 |
<artifactId>spring-boot-starter-tomcat</artifactId> |
|
191 |
<groupId>org.springframework.boot</groupId> |
|
192 |
</exclusion> |
|
193 |
<exclusion> |
|
194 |
<artifactId>log4j-to-slf4j</artifactId> |
|
195 |
<groupId>org.apache.logging.log4j</groupId> |
|
196 |
</exclusion> |
|
197 |
</exclusions> |
|
198 |
</dependency> |
|
199 |
<!-- web 容器使用 undertow 性能更强 --> |
|
200 |
<dependency> |
|
201 |
<groupId>org.springframework.boot</groupId> |
|
202 |
<artifactId>spring-boot-starter-undertow</artifactId> |
|
203 |
</dependency> |
|
204 |
<dependency> |
|
205 |
<groupId>org.springframework.boot</groupId> |
|
206 |
<artifactId>spring-boot-starter-jdbc</artifactId> |
|
207 |
</dependency> |
|
208 |
<dependency> |
|
209 |
<groupId>org.springframework.boot</groupId> |
|
210 |
<artifactId>spring-boot-starter-aop</artifactId> |
|
211 |
</dependency> |
|
212 |
<dependency> |
|
213 |
<groupId>org.springframework.ldap</groupId> |
|
214 |
<artifactId>spring-ldap-core</artifactId> |
|
215 |
</dependency> |
|
216 |
|
|
217 |
<dependency> |
|
218 |
<groupId>com.caucho</groupId> |
|
219 |
<artifactId>hessian</artifactId> |
|
220 |
</dependency> |
|
221 |
<dependency> |
|
222 |
<groupId>commons-collections</groupId> |
|
223 |
<artifactId>commons-collections</artifactId> |
|
224 |
</dependency> |
|
225 |
<dependency> |
|
226 |
<groupId>ch.qos.logback</groupId> |
|
227 |
<artifactId>logback-classic</artifactId> |
|
228 |
</dependency> |
|
229 |
<dependency> |
|
230 |
<groupId>ch.qos.logback</groupId> |
|
231 |
<artifactId>logback-core</artifactId> |
|
232 |
</dependency> |
|
233 |
<dependency> |
|
234 |
<groupId>com.mysql</groupId> |
|
235 |
<artifactId>mysql-connector-j</artifactId> |
|
236 |
</dependency> |
|
237 |
<dependency> |
|
238 |
<groupId>org.apache.derby</groupId> |
|
239 |
<artifactId>derby</artifactId> |
|
240 |
</dependency> |
|
241 |
<dependency> |
|
242 |
<groupId>com.alipay.sofa</groupId> |
|
243 |
<artifactId>jraft-core</artifactId> |
|
244 |
</dependency> |
|
245 |
<dependency> |
|
246 |
<groupId>com.alipay.sofa</groupId> |
|
247 |
<artifactId>rpc-grpc-impl</artifactId> |
|
248 |
</dependency> |
|
249 |
<dependency> |
|
250 |
<groupId>io.jsonwebtoken</groupId> |
|
251 |
<artifactId>jjwt-api</artifactId> |
|
252 |
</dependency> |
|
253 |
<dependency> |
|
254 |
<groupId>io.jsonwebtoken</groupId> |
|
255 |
<artifactId>jjwt-impl</artifactId> |
|
256 |
<scope>runtime</scope> |
|
257 |
</dependency> |
|
258 |
<dependency> |
|
259 |
<groupId>io.jsonwebtoken</groupId> |
|
260 |
<artifactId>jjwt-jackson</artifactId> |
|
261 |
<scope>runtime</scope> |
|
262 |
</dependency> |
|
263 |
<dependency> |
|
264 |
<groupId>org.javatuples</groupId> |
|
265 |
<artifactId>javatuples</artifactId> |
|
266 |
</dependency> |
|
267 |
<dependency> |
|
268 |
<groupId>com.google.code.gson</groupId> |
|
269 |
<artifactId>gson</artifactId> |
|
270 |
</dependency> |
|
271 |
<dependency> |
|
272 |
<groupId>io.micrometer</groupId> |
|
273 |
<artifactId>micrometer-registry-prometheus</artifactId> |
|
274 |
</dependency> |
|
275 |
<dependency> |
|
276 |
<groupId>io.micrometer</groupId> |
|
277 |
<artifactId>micrometer-registry-influx</artifactId> |
|
278 |
</dependency> |
|
279 |
<dependency> |
|
280 |
<groupId>io.micrometer</groupId> |
|
281 |
<artifactId>micrometer-registry-elastic</artifactId> |
|
282 |
</dependency> |
|
283 |
<dependency> |
|
284 |
<groupId>org.springframework.boot</groupId> |
|
285 |
<artifactId>spring-boot-starter-actuator</artifactId> |
|
286 |
</dependency> |
|
287 |
|
|
288 |
<dependency> |
|
289 |
<groupId>io.envoyproxy.controlplane</groupId> |
|
290 |
<artifactId>api</artifactId> |
|
291 |
<version>0.1.27</version> |
|
292 |
</dependency> |
|
293 |
|
|
294 |
<!-- log --> |
|
295 |
<!-- apache commons logging通过slf4j来代理 --> |
|
296 |
<dependency> |
|
297 |
<groupId>org.slf4j</groupId> |
|
298 |
<artifactId>jcl-over-slf4j</artifactId> |
|
299 |
</dependency> |
|
300 |
<!-- java.util.logging 通过slf4j来代理 --> |
|
301 |
<dependency> |
|
302 |
<groupId>org.slf4j</groupId> |
|
303 |
<artifactId>jul-to-slf4j</artifactId> |
|
304 |
</dependency> |
|
305 |
<dependency> |
|
306 |
<groupId>org.springframework.boot</groupId> |
|
307 |
<artifactId>spring-boot-starter-security</artifactId> |
|
308 |
</dependency> |
|
309 |
<dependency> |
|
310 |
<groupId>de.codecentric</groupId> |
|
311 |
<artifactId>spring-boot-admin-client</artifactId> |
|
312 |
<version>${spring-boot-admin.version}</version> |
|
313 |
</dependency> |
|
314 |
</dependencies> |
|
315 |
|
|
316 |
<build> |
|
317 |
<finalName>${project.artifactId}</finalName> |
|
318 |
<plugins> |
|
319 |
<plugin> |
|
320 |
<groupId>org.springframework.boot</groupId> |
|
321 |
<artifactId>spring-boot-maven-plugin</artifactId> |
4a47e4
|
322 |
<version>${spring.boot.version}</version> |
e7c126
|
323 |
<executions> |
H |
324 |
<execution> |
|
325 |
<goals> |
|
326 |
<goal>repackage</goal> |
|
327 |
</goals> |
|
328 |
</execution> |
|
329 |
</executions> |
|
330 |
<configuration> |
|
331 |
<!-- 作用:项目打成jar的同时将本地jar包也引入进去 --> |
|
332 |
<includeSystemScope>true</includeSystemScope> |
|
333 |
</configuration> |
|
334 |
</plugin> |
|
335 |
</plugins> |
|
336 |
</build> |
|
337 |
|
|
338 |
</project> |