-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpom.xml
More file actions
315 lines (283 loc) · 11.2 KB
/
pom.xml
File metadata and controls
315 lines (283 loc) · 11.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>com.weutil</groupId>
<artifactId>life-helper-server</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<modules>
<module>life-helper-common</module>
<module>life-helper-aliyun</module>
<module>life-helper-external</module>
<module>life-helper-account</module>
<module>life-helper-todo</module>
<module>life-helper-system</module>
<module>life-helper-web</module>
</modules>
<name>${project.artifactId}</name>
<description>小鸣助手(WeUtil)服务端项目</description>
<url>https://github.com/inlym/life-helper-server</url>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.6</version>
<relativePath/>
</parent>
<properties>
<!-- 项目版本号 -->
<revision>3.0.0</revision>
<!-- Maven 相关配置 -->
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<skipTests>true</skipTests>
<!-- 第三方依赖版本号 -->
<hutool.version>5.8.16</hutool.version>
<java-jwt.version>4.4.0</java-jwt.version>
<mysql-connector.version>8.0.29</mysql-connector.version>
<aliyun-oss.version>3.8.0</aliyun-oss.version>
<aliyun-sms.version>3.0.0</aliyun-sms.version>
<mybatis-flex.version>1.9.4</mybatis-flex.version>
<flatten-maven-plugin.version>1.6.0</flatten-maven-plugin.version>
</properties>
<!-- 公共依赖 -->
<dependencies>
<!-- Spring Boot 的 Web 起步依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Spring Boot 的应用状态监控器 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- Spring Boot 的数据验证依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<!-- Spring Boot 配置注解处理器 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<!-- Spring Cache 缓存依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<!-- Spring Redis 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- Spring Security 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<!-- Spring Boot 的测试框架 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- Spring Security 测试依赖 -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<!-- Spring Boot AOP 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!-- Spring JDBC 依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<!-- Spring 重试框架 -->
<dependency>
<groupId>org.springframework.retry</groupId>
<artifactId>spring-retry</artifactId>
</dependency>
<!-- MySQL 驱动 -->
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- Redis 连接池依赖 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</dependency>
<!-- MyBatis-Flex -->
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-spring-boot3-starter</artifactId>
<version>${mybatis-flex.version}</version>
</dependency>
<dependency>
<groupId>com.mybatis-flex</groupId>
<artifactId>mybatis-flex-processor</artifactId>
<version>${mybatis-flex.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- 依赖版本号统一管理 -->
<dependencyManagement>
<dependencies>
<!-- === 内部模块 === -->
<!-- 通用模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-common</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 系统调试模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-system</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 阿里云 OSS 依赖模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-aliyun-oss</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 阿里云短信依赖模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-aliyun-sms</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 阿里云验证码依赖模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-aliyun-captcha</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 腾讯位置服务封装模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-wemap</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 用户账户模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-account</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 待办任务模块 -->
<dependency>
<groupId>com.weutil</groupId>
<artifactId>life-helper-todo</artifactId>
<version>${project.version}</version>
</dependency>
<!-- === 外部依赖 === -->
<!--Hutool Java工具包-->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<!-- JWT 工具 -->
<dependency>
<groupId>com.auth0</groupId>
<artifactId>java-jwt</artifactId>
<version>${java-jwt.version}</version>
</dependency>
<!--Mysql 数据库驱动-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector.version}</version>
</dependency>
<!-- 阿里云对象存储(OSS) -->
<dependency>
<groupId>com.aliyun.oss</groupId>
<artifactId>aliyun-sdk-oss</artifactId>
<version>${aliyun-oss.version}</version>
</dependency>
<!-- 阿里云短信服务(sms) -->
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>dysmsapi20170525</artifactId>
<version>${aliyun-sms.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!-- 统一 revision 版本管理 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
<updatePomFile>true</updatePomFile>
</configuration>
<executions>
<execution>
<goals>
<goal>flatten</goal>
</goals>
<id>flatten</id>
<phase>process-resources</phase>
</execution>
<execution>
<goals>
<goal>clean</goal>
</goals>
<id>flatten.clean</id>
<phase>clean</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- 使用阿里云的镜像源提升依赖下载速度 -->
<repositories>
<repository>
<id>aliyun-maven</id>
<name>aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
</repository>
<repository>
<id>central2</id>
<name>central2</name>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>
<!-- 使用阿里云的镜像源提升插件下载速度 -->
<pluginRepositories>
<pluginRepository>
<id>aliyun-maven</id>
<name>aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
</pluginRepository>
<pluginRepository>
<id>central2</id>
<name>central2</name>
<url>https://repo1.maven.org/maven2/</url>
</pluginRepository>
</pluginRepositories>
</project>