提交 | 用户 | 时间
|
722af2
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
X |
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 |
<modelVersion>4.0.0</modelVersion> |
|
6 |
|
|
7 |
<groupId>com.dl</groupId> |
|
8 |
<artifactId>dl-qms</artifactId> |
|
9 |
<version>0.8.3</version> |
|
10 |
|
|
11 |
<name>dl-qms</name> |
|
12 |
|
|
13 |
<properties> |
|
14 |
<dl-qms.version>0.8.3</dl-qms.version> |
|
15 |
<spring-boot.version>2.7.11</spring-boot.version> |
|
16 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
17 |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
18 |
<java.version>1.8</java.version> |
|
19 |
<maven-jar-plugin.version>3.2.2</maven-jar-plugin.version> |
|
20 |
<spring-boot.mybatis>2.2.2</spring-boot.mybatis> |
|
21 |
<springdoc.version>1.6.15</springdoc.version> |
|
22 |
<poi.version>5.2.3</poi.version> |
|
23 |
<easyexcel.version>3.2.1</easyexcel.version> |
|
24 |
<velocity.version>2.3</velocity.version> |
|
25 |
<satoken.version>1.34.0</satoken.version> |
|
26 |
<mybatis-plus.version>3.5.3.1</mybatis-plus.version> |
|
27 |
<p6spy.version>3.9.1</p6spy.version> |
|
28 |
<hutool.version>5.8.18</hutool.version> |
|
29 |
<okhttp.version>4.10.0</okhttp.version> |
|
30 |
<spring-boot-admin.version>2.7.10</spring-boot-admin.version> |
|
31 |
<redisson.version>3.20.1</redisson.version> |
|
32 |
<lock4j.version>2.2.3</lock4j.version> |
|
33 |
<dynamic-ds.version>3.5.2</dynamic-ds.version> |
|
34 |
<alibaba-ttl.version>2.14.2</alibaba-ttl.version> |
|
35 |
<xxl-job.version>2.4.0</xxl-job.version> |
|
36 |
<lombok.version>1.18.26</lombok.version> |
|
37 |
<bouncycastle.version>1.72</bouncycastle.version> |
|
38 |
<flowable.version>6.8.0</flowable.version> |
|
39 |
<!-- 离线IP地址定位库 --> |
|
40 |
<ip2region.version>2.7.0</ip2region.version> |
|
41 |
|
|
42 |
<!-- 临时修复 snakeyaml 漏洞 --> |
|
43 |
<snakeyaml.version>1.33</snakeyaml.version> |
|
44 |
|
|
45 |
<!-- OSS 配置 --> |
|
46 |
<aws-java-sdk-s3.version>1.12.400</aws-java-sdk-s3.version> |
|
47 |
<!-- SMS 配置 --> |
|
48 |
<aliyun.sms.version>2.0.23</aliyun.sms.version> |
|
49 |
<tencent.sms.version>3.1.687</tencent.sms.version> |
|
50 |
</properties> |
|
51 |
|
|
52 |
<profiles> |
|
53 |
<profile> |
|
54 |
<id>local</id> |
|
55 |
<properties> |
|
56 |
<!-- 环境标识,需要与配置文件的名称相对应 --> |
|
57 |
<profiles.active>local</profiles.active> |
|
58 |
<logging.level>debug</logging.level> |
|
59 |
</properties> |
|
60 |
</profile> |
|
61 |
<profile> |
|
62 |
<id>dev</id> |
|
63 |
<properties> |
|
64 |
<!-- 环境标识,需要与配置文件的名称相对应 --> |
|
65 |
<profiles.active>dev</profiles.active> |
|
66 |
<logging.level>debug</logging.level> |
|
67 |
</properties> |
|
68 |
<activation> |
|
69 |
<!-- 默认环境 --> |
|
70 |
<activeByDefault>true</activeByDefault> |
|
71 |
</activation> |
|
72 |
</profile> |
|
73 |
<profile> |
|
74 |
<id>prod</id> |
|
75 |
<properties> |
|
76 |
<profiles.active>prod</profiles.active> |
|
77 |
<logging.level>warn</logging.level> |
|
78 |
</properties> |
|
79 |
</profile> |
|
80 |
</profiles> |
|
81 |
|
|
82 |
<!-- 依赖声明 --> |
|
83 |
<dependencyManagement> |
|
84 |
<dependencies> |
|
85 |
|
|
86 |
<!-- SpringBoot的依赖配置--> |
|
87 |
<dependency> |
|
88 |
<groupId>org.springframework.boot</groupId> |
|
89 |
<artifactId>spring-boot-dependencies</artifactId> |
|
90 |
<version>${spring-boot.version}</version> |
|
91 |
<type>pom</type> |
|
92 |
<scope>import</scope> |
|
93 |
</dependency> |
|
94 |
|
|
95 |
<!-- hutool 的依赖配置--> |
|
96 |
<dependency> |
|
97 |
<groupId>cn.hutool</groupId> |
|
98 |
<artifactId>hutool-bom</artifactId> |
|
99 |
<version>${hutool.version}</version> |
|
100 |
<type>pom</type> |
|
101 |
<scope>import</scope> |
|
102 |
</dependency> |
|
103 |
|
|
104 |
<dependency> |
|
105 |
<groupId>org.springdoc</groupId> |
|
106 |
<artifactId>springdoc-openapi-webmvc-core</artifactId> |
|
107 |
<version>${springdoc.version}</version> |
|
108 |
</dependency> |
|
109 |
|
|
110 |
<dependency> |
|
111 |
<groupId>org.springdoc</groupId> |
|
112 |
<artifactId>springdoc-openapi-javadoc</artifactId> |
|
113 |
<version>${springdoc.version}</version> |
|
114 |
</dependency> |
|
115 |
|
|
116 |
<dependency> |
|
117 |
<groupId>org.projectlombok</groupId> |
|
118 |
<artifactId>lombok</artifactId> |
|
119 |
<version>${lombok.version}</version> |
|
120 |
</dependency> |
|
121 |
|
|
122 |
<dependency> |
|
123 |
<groupId>org.apache.poi</groupId> |
|
124 |
<artifactId>poi</artifactId> |
|
125 |
<version>${poi.version}</version> |
|
126 |
</dependency> |
|
127 |
<dependency> |
|
128 |
<groupId>org.apache.poi</groupId> |
|
129 |
<artifactId>poi-ooxml</artifactId> |
|
130 |
<version>${poi.version}</version> |
|
131 |
</dependency> |
|
132 |
<dependency> |
|
133 |
<groupId>com.alibaba</groupId> |
|
134 |
<artifactId>easyexcel</artifactId> |
|
135 |
<version>${easyexcel.version}</version> |
|
136 |
<exclusions> |
|
137 |
<exclusion> |
|
138 |
<groupId>org.apache.poi</groupId> |
|
139 |
<artifactId>poi-ooxml-schemas</artifactId> |
|
140 |
</exclusion> |
|
141 |
</exclusions> |
|
142 |
</dependency> |
|
143 |
|
|
144 |
<!-- velocity代码生成使用模板 --> |
|
145 |
<dependency> |
|
146 |
<groupId>org.apache.velocity</groupId> |
|
147 |
<artifactId>velocity-engine-core</artifactId> |
|
148 |
<version>${velocity.version}</version> |
|
149 |
</dependency> |
|
150 |
|
|
151 |
<!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ --> |
|
152 |
<dependency> |
|
153 |
<groupId>cn.dev33</groupId> |
|
154 |
<artifactId>sa-token-spring-boot-starter</artifactId> |
|
155 |
<version>${satoken.version}</version> |
|
156 |
</dependency> |
|
157 |
<!-- Sa-Token 整合 jwt --> |
|
158 |
<dependency> |
|
159 |
<groupId>cn.dev33</groupId> |
|
160 |
<artifactId>sa-token-jwt</artifactId> |
|
161 |
<version>${satoken.version}</version> |
|
162 |
<exclusions> |
|
163 |
<exclusion> |
|
164 |
<groupId>cn.hutool</groupId> |
|
165 |
<artifactId>hutool-all</artifactId> |
|
166 |
</exclusion> |
|
167 |
</exclusions> |
|
168 |
</dependency> |
|
169 |
|
|
170 |
<!-- dynamic-datasource 多数据源--> |
|
171 |
<dependency> |
|
172 |
<groupId>com.baomidou</groupId> |
|
173 |
<artifactId>dynamic-datasource-spring-boot-starter</artifactId> |
|
174 |
<version>${dynamic-ds.version}</version> |
|
175 |
</dependency> |
|
176 |
|
|
177 |
<dependency> |
|
178 |
<groupId>com.baomidou</groupId> |
|
179 |
<artifactId>mybatis-plus-boot-starter</artifactId> |
|
180 |
<version>${mybatis-plus.version}</version> |
|
181 |
</dependency> |
|
182 |
|
|
183 |
<!-- sql性能分析插件 --> |
|
184 |
<dependency> |
|
185 |
<groupId>p6spy</groupId> |
|
186 |
<artifactId>p6spy</artifactId> |
|
187 |
<version>${p6spy.version}</version> |
|
188 |
</dependency> |
|
189 |
|
|
190 |
<dependency> |
|
191 |
<groupId>com.squareup.okhttp3</groupId> |
|
192 |
<artifactId>okhttp</artifactId> |
|
193 |
<version>${okhttp.version}</version> |
|
194 |
</dependency> |
|
195 |
|
|
196 |
<dependency> |
|
197 |
<groupId>com.amazonaws</groupId> |
|
198 |
<artifactId>aws-java-sdk-s3</artifactId> |
|
199 |
<version>${aws-java-sdk-s3.version}</version> |
|
200 |
</dependency> |
|
201 |
|
|
202 |
<dependency> |
|
203 |
<groupId>com.aliyun</groupId> |
|
204 |
<artifactId>dysmsapi20170525</artifactId> |
|
205 |
<version>${aliyun.sms.version}</version> |
|
206 |
</dependency> |
|
207 |
|
|
208 |
<dependency> |
|
209 |
<groupId>com.tencentcloudapi</groupId> |
|
210 |
<artifactId>tencentcloud-sdk-java-sms</artifactId> |
|
211 |
<version>${tencent.sms.version}</version> |
|
212 |
</dependency> |
|
213 |
|
|
214 |
<dependency> |
|
215 |
<groupId>de.codecentric</groupId> |
|
216 |
<artifactId>spring-boot-admin-starter-server</artifactId> |
|
217 |
<version>${spring-boot-admin.version}</version> |
|
218 |
</dependency> |
|
219 |
<dependency> |
|
220 |
<groupId>de.codecentric</groupId> |
|
221 |
<artifactId>spring-boot-admin-starter-client</artifactId> |
|
222 |
<version>${spring-boot-admin.version}</version> |
|
223 |
</dependency> |
|
224 |
|
|
225 |
<!--redisson--> |
|
226 |
<dependency> |
|
227 |
<groupId>org.redisson</groupId> |
|
228 |
<artifactId>redisson-spring-boot-starter</artifactId> |
|
229 |
<version>${redisson.version}</version> |
|
230 |
<exclusions> |
|
231 |
<exclusion> |
|
232 |
<groupId>org.redisson</groupId> |
|
233 |
<artifactId>redisson-spring-data-30</artifactId> |
|
234 |
</exclusion> |
|
235 |
</exclusions> |
|
236 |
</dependency> |
|
237 |
<dependency> |
|
238 |
<groupId>org.redisson</groupId> |
|
239 |
<artifactId>redisson-spring-data-27</artifactId> |
|
240 |
<version>${redisson.version}</version> |
|
241 |
</dependency> |
|
242 |
|
|
243 |
<dependency> |
|
244 |
<groupId>com.baomidou</groupId> |
|
245 |
<artifactId>lock4j-redisson-spring-boot-starter</artifactId> |
|
246 |
<version>${lock4j.version}</version> |
|
247 |
</dependency> |
|
248 |
|
|
249 |
<!-- xxl-job-core --> |
|
250 |
<dependency> |
|
251 |
<groupId>com.xuxueli</groupId> |
|
252 |
<artifactId>xxl-job-core</artifactId> |
|
253 |
<version>${xxl-job.version}</version> |
|
254 |
</dependency> |
|
255 |
|
|
256 |
<dependency> |
|
257 |
<groupId>com.alibaba</groupId> |
|
258 |
<artifactId>transmittable-thread-local</artifactId> |
|
259 |
<version>${alibaba-ttl.version}</version> |
|
260 |
</dependency> |
|
261 |
|
|
262 |
<!-- 离线IP地址定位库 ip2region --> |
|
263 |
<dependency> |
|
264 |
<groupId>org.lionsoul</groupId> |
|
265 |
<artifactId>ip2region</artifactId> |
|
266 |
<version>${ip2region.version}</version> |
|
267 |
</dependency> |
|
268 |
|
|
269 |
<!-- 临时修复 snakeyaml 漏洞 --> |
|
270 |
<dependency> |
|
271 |
<groupId>org.yaml</groupId> |
|
272 |
<artifactId>snakeyaml</artifactId> |
|
273 |
<version>${snakeyaml.version}</version> |
|
274 |
</dependency> |
|
275 |
|
|
276 |
<!-- 加密包引入 --> |
|
277 |
<dependency> |
|
278 |
<groupId>org.bouncycastle</groupId> |
|
279 |
<artifactId>bcprov-jdk15to18</artifactId> |
|
280 |
<version>${bouncycastle.version}</version> |
|
281 |
</dependency> |
|
282 |
|
|
283 |
<!-- flowable --> |
|
284 |
<dependency> |
|
285 |
<groupId>org.flowable</groupId> |
|
286 |
<artifactId>flowable-spring-boot-starter-process</artifactId> |
|
287 |
<version>${flowable.version}</version> |
|
288 |
</dependency> |
|
289 |
|
|
290 |
<!-- 定时任务 --> |
|
291 |
<dependency> |
|
292 |
<groupId>com.dl</groupId> |
|
293 |
<artifactId>dl-job</artifactId> |
|
294 |
<version>${dl-qms.version}</version> |
|
295 |
</dependency> |
|
296 |
|
|
297 |
<!-- 代码生成--> |
|
298 |
<dependency> |
|
299 |
<groupId>com.dl</groupId> |
|
300 |
<artifactId>dl-generator</artifactId> |
|
301 |
<version>${dl-qms.version}</version> |
|
302 |
</dependency> |
|
303 |
|
|
304 |
<!-- 核心模块--> |
|
305 |
<dependency> |
|
306 |
<groupId>com.dl</groupId> |
|
307 |
<artifactId>dl-framework</artifactId> |
|
308 |
<version>${dl-qms.version}</version> |
|
309 |
</dependency> |
|
310 |
|
|
311 |
<!-- 系统模块--> |
|
312 |
<dependency> |
|
313 |
<groupId>com.dl</groupId> |
|
314 |
<artifactId>dl-system</artifactId> |
|
315 |
<version>${dl-qms.version}</version> |
|
316 |
</dependency> |
|
317 |
|
|
318 |
<!-- 通用工具--> |
|
319 |
<dependency> |
|
320 |
<groupId>com.dl</groupId> |
|
321 |
<artifactId>dl-common</artifactId> |
|
322 |
<version>${dl-qms.version}</version> |
|
323 |
</dependency> |
|
324 |
|
|
325 |
<!-- 工作流模块 --> |
|
326 |
<dependency> |
|
327 |
<groupId>com.dl</groupId> |
|
328 |
<artifactId>dl-flowable</artifactId> |
|
329 |
<version>${dl-qms.version}</version> |
|
330 |
</dependency> |
|
331 |
|
|
332 |
<!-- OSS对象存储模块 --> |
|
333 |
<dependency> |
|
334 |
<groupId>com.dl</groupId> |
|
335 |
<artifactId>dl-oss</artifactId> |
|
336 |
<version>${dl-qms.version}</version> |
|
337 |
</dependency> |
|
338 |
|
|
339 |
<!-- SMS短信模块 --> |
|
340 |
<dependency> |
|
341 |
<groupId>com.dl</groupId> |
|
342 |
<artifactId>dl-sms</artifactId> |
|
343 |
<version>${dl-qms.version}</version> |
|
344 |
</dependency> |
|
345 |
|
|
346 |
<!-- demo模块 --> |
|
347 |
<dependency> |
|
348 |
<groupId>com.dl</groupId> |
|
349 |
<artifactId>dl-demo</artifactId> |
|
350 |
<version>${dl-qms.version}</version> |
|
351 |
</dependency> |
|
352 |
|
|
353 |
</dependencies> |
|
354 |
</dependencyManagement> |
|
355 |
|
|
356 |
<modules> |
|
357 |
<module>dl-admin</module> |
|
358 |
<module>dl-common</module> |
|
359 |
<module>dl-demo</module> |
|
360 |
<module>dl-extend</module> |
|
361 |
<module>dl-flowable</module> |
|
362 |
<module>dl-framework</module> |
|
363 |
<module>dl-generator</module> |
|
364 |
<module>dl-job</module> |
|
365 |
<module>dl-oss</module> |
|
366 |
<module>dl-sms</module> |
|
367 |
<module>dl-system</module> |
|
368 |
</modules> |
|
369 |
<packaging>pom</packaging> |
|
370 |
|
|
371 |
<build> |
|
372 |
<plugins> |
|
373 |
<plugin> |
|
374 |
<groupId>org.apache.maven.plugins</groupId> |
|
375 |
<artifactId>maven-compiler-plugin</artifactId> |
|
376 |
<version>3.9.0</version> |
|
377 |
<configuration> |
|
378 |
<source>${java.version}</source> |
|
379 |
<target>${java.version}</target> |
|
380 |
<encoding>${project.build.sourceEncoding}</encoding> |
|
381 |
<annotationProcessorPaths> |
|
382 |
<path> |
|
383 |
<groupId>com.github.therapi</groupId> |
|
384 |
<artifactId>therapi-runtime-javadoc-scribe</artifactId> |
|
385 |
<version>0.15.0</version> |
|
386 |
</path> |
|
387 |
<path> |
|
388 |
<groupId>org.projectlombok</groupId> |
|
389 |
<artifactId>lombok</artifactId> |
|
390 |
<version>${lombok.version}</version> |
|
391 |
</path> |
|
392 |
<path> |
|
393 |
<groupId>org.springframework.boot</groupId> |
|
394 |
<artifactId>spring-boot-configuration-processor</artifactId> |
|
395 |
<version>${spring-boot.version}</version> |
|
396 |
</path> |
|
397 |
</annotationProcessorPaths> |
|
398 |
</configuration> |
|
399 |
</plugin> |
|
400 |
<!-- 单元测试使用 --> |
|
401 |
<plugin> |
|
402 |
<groupId>org.apache.maven.plugins</groupId> |
|
403 |
<artifactId>maven-surefire-plugin</artifactId> |
|
404 |
<version>2.22.2</version> |
|
405 |
<configuration> |
|
406 |
<argLine>-Dfile.encoding=UTF-8</argLine> |
|
407 |
<!-- 根据打包环境执行对应的@Tag测试方法 --> |
|
408 |
<groups>${profiles.active}</groups> |
|
409 |
<!-- 排除标签 --> |
|
410 |
<excludedGroups>exclude</excludedGroups> |
|
411 |
</configuration> |
|
412 |
</plugin> |
|
413 |
</plugins> |
|
414 |
<resources> |
|
415 |
<resource> |
|
416 |
<directory>src/main/resources</directory> |
|
417 |
<!-- 关闭过滤 --> |
|
418 |
<filtering>false</filtering> |
|
419 |
</resource> |
|
420 |
<resource> |
|
421 |
<directory>src/main/resources</directory> |
|
422 |
<!-- 引入所有 匹配文件进行过滤 --> |
|
423 |
<includes> |
|
424 |
<include>application*</include> |
|
425 |
<include>bootstrap*</include> |
|
426 |
<include>banner*</include> |
|
427 |
</includes> |
|
428 |
<!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 --> |
|
429 |
<filtering>true</filtering> |
|
430 |
</resource> |
|
431 |
</resources> |
|
432 |
</build> |
|
433 |
|
|
434 |
<repositories> |
|
435 |
<repository> |
|
436 |
<id>public</id> |
|
437 |
<name>aliyun nexus</name> |
|
438 |
<url>https://maven.aliyun.com/repository/public/</url> |
|
439 |
<releases> |
|
440 |
<enabled>true</enabled> |
|
441 |
</releases> |
|
442 |
</repository> |
|
443 |
</repositories> |
|
444 |
|
|
445 |
<pluginRepositories> |
|
446 |
<pluginRepository> |
|
447 |
<id>public</id> |
|
448 |
<name>aliyun nexus</name> |
|
449 |
<url>https://maven.aliyun.com/repository/public/</url> |
|
450 |
<releases> |
|
451 |
<enabled>true</enabled> |
|
452 |
</releases> |
|
453 |
<snapshots> |
|
454 |
<enabled>false</enabled> |
|
455 |
</snapshots> |
|
456 |
</pluginRepository> |
|
457 |
</pluginRepositories> |
|
458 |
|
|
459 |
</project> |