-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
312 lines (295 loc) · 11.9 KB
/
pom.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- 父级依赖 -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.6</version>
<relativePath/>
</parent>
<!-- 主要配置信息 -->
<groupId>com.totime</groupId>
<artifactId>YunMail</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>YunMail</name>
<description>云寄时光驿站服务端</description>
<!-- 全局依赖版本管理 -->
<properties>
<!-- JDK版本 -->
<java.version>11</java.version>
<!-- 打包编码指定 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- MySQL版本 -->
<mysql.version>8.0.30</mysql.version>
<!-- MyBatisPlus版本 -->
<mybatis-plus.version>3.5.2</mybatis-plus.version>
<!-- Swagger版本 -->
<swagger.version>3.0.0</swagger.version>
<!-- Knife4j版本 -->
<knife4j.version>3.0.3</knife4j.version>
<!-- Hutool版本 -->
<hutool.version>5.8.10</hutool.version>
<!-- FastJSON2版本 -->
<fastjson.version>2.0.21</fastjson.version>
<!-- Druid版本 -->
<druid.version>1.2.15</druid.version>
<!-- Redis连接池(commons-pool2) -->
<commons-pool2.version>2.5.0</commons-pool2.version>
<!-- ip2region(离线IP定位库) -->
<ip2region.version>2.6.6</ip2region.version>
<!-- MapStruct(对象转换) -->
<org.mapstruct>1.5.3.Final</org.mapstruct>
<!-- EasyCaptcha(图像验证码) -->
<easy-captcha.version>1.6.2</easy-captcha.version>
<!-- UserAgentUtils(浏览器信息解析) -->
<user-agent-utils.version>1.21</user-agent-utils.version>
<!-- JJWT版本 -->
<jjwt.version>0.11.5</jjwt.version>
<!-- Shiro版本 -->
<shiro.version>1.10.1</shiro.version>
<!-- 系统信息获取库版本 -->
<oshi.version>6.3.0</oshi.version>
<!-- SpringBoot版本 -->
<spring-boot.version>2.7.6</spring-boot.version>
</properties>
<!-- 全局公共依赖管理 -->
<dependencies>
</dependencies>
<!-- 全局可选依赖管理 -->
<dependencyManagement>
<dependencies>
<!-- Validation数据校验 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<!-- Spring boot Websocket -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<!-- SpringBoot元数据映射 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
<version>${spring-boot.version}</version>
</dependency>
<!-- Redis -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<!-- Redis连接池 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>${commons-pool2.version}</version>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<version>${lombok.version}</version>
</dependency>
<!-- Hutool -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<!-- FastJSON2 -->
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>${fastjson.version}</version>
</dependency>
<!-- Druid连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- MySQL驱动 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<!-- MyBatisPlus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<!-- Swagger3 -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>${swagger.version}</version>
</dependency>
<!-- Knife4j -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
<version>${knife4j.version}</version>
</dependency>
<!-- Knife4j-OpenAPI3(Swagger增强) -->
<!-- <dependency>-->
<!-- <groupId>com.github.xiaoymin</groupId>-->
<!-- <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>-->
<!-- <version>${knife4j.version}</version>-->
<!-- </dependency>-->
<!-- 离线IP定位库 -->
<dependency>
<groupId>org.lionsoul</groupId>
<artifactId>ip2region</artifactId>
<version>${ip2region.version}</version>
</dependency>
<!-- MapStruct(对象转换) -->
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${org.mapstruct}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct}</version>
</dependency>
<!-- 图形验证码 -->
<dependency>
<groupId>com.github.whvcse</groupId>
<artifactId>easy-captcha</artifactId>
<version>${easy-captcha.version}</version>
</dependency>
<!-- UserAgentUtils(浏览器信息解析) -->
<dependency>
<groupId>eu.bitwalker</groupId>
<artifactId>UserAgentUtils</artifactId>
<version>${user-agent-utils.version}</version>
</dependency>
<!-- JJWT -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>${jjwt.version}</version>
</dependency>
<!-- Quartz -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-quartz</artifactId>
</dependency>
<!-- Shiro -->
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring</artifactId>
<version>${shiro.version}</version>
</dependency>
<!-- 获取系统信息 -->
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core</artifactId>
<version>${oshi.version}</version>
</dependency>
<!-- 云寄接口模块 -->
<dependency>
<artifactId>yun-api</artifactId>
<version>0.0.1-SNAPSHOT</version>
<groupId>com.totime</groupId>
</dependency>
<!-- 云寄通用工具模块 -->
<dependency>
<artifactId>yun-common</artifactId>
<version>0.0.1-SNAPSHOT</version>
<groupId>com.totime</groupId>
</dependency>
<!-- 云寄通用配置模块 -->
<dependency>
<artifactId>yun-config</artifactId>
<version>0.0.1-SNAPSHOT</version>
<groupId>com.totime</groupId>
</dependency>
<!-- 云寄定时任务模块 -->
<dependency>
<artifactId>yun-quartz</artifactId>
<version>0.0.1-SNAPSHOT</version>
<groupId>com.totime</groupId>
</dependency>
<!-- 云寄系统核心模块 -->
<dependency>
<artifactId>yun-core</artifactId>
<version>0.0.1-SNAPSHOT</version>
<groupId>com.totime</groupId>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 子级模块 -->
<modules>
<!-- 系统启动模块 -->
<module>yun-app</module>
<!-- 通用工具模块 -->
<module>yun-common</module>
<!-- 定时任务模块 -->
<module>yun-quartz</module>
<!-- 系统核心模块 -->
<module>yun-core</module>
<!-- 系统接口模块 -->
<module>yun-api</module>
<!-- 全局配置模块 -->
<module>yun-config</module>
</modules>
<!-- 设置打包格式 -->
<packaging>pom</packaging>
<!-- 全局插件管理 -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
</build>
<!-- 设置仓库地址 -->
<repositories>
<repository>
<id>public</id>
<name>aliyun nexus</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<!-- 设置插件仓库 -->
<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>aliyun nexus</name>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>