潘志宝
2024-10-04 b8b8cb26b0a13c8ca10ffa53cef2abbff4eb20de
提交 | 用户 | 时间
e7c126 1 <?xml version="1.0" encoding="UTF-8"?>
H 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     <groupId>com.iailab</groupId>
08e3e8 7     <artifactId>iailab-plat</artifactId>
e7c126 8     <version>${revision}</version>
H 9     <packaging>pom</packaging>
10     <modules>
11         <module>iailab-framework</module>
d9f9ba 12         <module>iailab-cloud</module>
e7c126 13         <!--  各种 module 拓展 -->
H 14         <module>iailab-module-system</module>
15         <module>iailab-module-infra</module>
16         <module>iailab-module-bpm</module>
17         <module>iailab-module-report</module>
d9f9ba 18         <module>iailab-module-data</module>
H 19         <module>iailab-module-model</module>
e7c126 20     </modules>
H 21
22     <name>${project.artifactId}</name>
23     <description>平台项目基础脚手架</description>
4d4165 24     <url>http://172.16.8.100:8888/summary/iailab-plat.git</url>
e7c126 25
H 26     <properties>
27         <revision>0.0.1</revision>
28         <!-- Maven 相关 -->
29         <java.version>1.8</java.version>
30         <maven.compiler.source>${java.version}</maven.compiler.source>
31         <maven.compiler.target>${java.version}</maven.compiler.target>
32         <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
33         <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
34         <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
35         <!-- 统一依赖管理 -->
36         <spring.boot.version>2.7.18</spring.boot.version>
d9f9ba 37         <spring.cloud.version>2021.0.9</spring.cloud.version>
H 38         <spring.cloud.alibaba.version>2021.0.6.1</spring.cloud.alibaba.version>
e7c126 39         <!-- Web 相关 -->
H 40         <servlet.versoin>2.5</servlet.versoin>
d9f9ba 41         <springdoc.version>1.7.0</springdoc.version>
H 42         <knife4j.version>4.5.0</knife4j.version>
e7c126 43         <!-- DB 相关 -->
d9f9ba 44         <druid.version>1.2.23</druid.version>
H 45         <mybatis.version>3.5.16</mybatis.version>
46         <mybatis-plus.version>3.5.7</mybatis-plus.version>
47         <mybatis-plus-generator.version>3.5.7</mybatis-plus-generator.version>
48         <dynamic-datasource.version>4.3.1</dynamic-datasource.version>
49         <mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
50         <easy-trans.version>3.0.5</easy-trans.version>
4a47e4 51         <redisson.version>3.18.0</redisson.version> <!-- Spring Boot 2.X 最多使用 3.18.0 版本,否则会报 Tuple NoClassDefFoundError -->
e7c126 52         <dm8.jdbc.version>8.1.3.62</dm8.jdbc.version>
H 53         <!-- 消息队列 -->
d9f9ba 54         <rocketmq-spring.version>2.3.0</rocketmq-spring.version>
e7c126 55         <!-- RPC 相关 -->
H 56         <!-- Config 配置中心相关 -->
57         <apollo.version>1.9.2</apollo.version>
58         <!-- Job 定时任务相关 -->
d9f9ba 59         <xxl-job.version>2.4.0</xxl-job.version>
e7c126 60         <!-- 服务保障相关 -->
H 61         <lock4j.version>2.2.7</lock4j.version>
62         <!-- 监控相关 -->
63         <skywalking.version>8.12.0</skywalking.version>
64         <spring-boot-admin.version>2.7.15</spring-boot-admin.version>
65         <opentracing.version>0.33.0</opentracing.version>
66         <!-- Test 测试相关 -->
67         <podam.version>7.2.11.RELEASE</podam.version> <!-- Spring Boot 2.X 最多使用 7.2.11 版本 -->
68         <jedis-mock.version>1.0.13</jedis-mock.version>
69         <mockito-inline.version>4.11.0</mockito-inline.version>
70         <!-- Bpm 工作流相关 -->
71         <flowable.version>6.8.0</flowable.version>
72         <!-- 工具类相关 -->
73         <captcha-plus.version>1.0.8</captcha-plus.version>
d9f9ba 74         <jsoup.version>1.18.1</jsoup.version>
H 75         <lombok.version>1.18.34</lombok.version>
e7c126 76         <mapstruct.version>1.5.5.Final</mapstruct.version>
d9f9ba 77         <hutool.version>5.8.29</hutool.version>
H 78         <joda.time.version>2.10.14</joda.time.version>
79         <easyexcel.verion>3.3.4</easyexcel.verion>
e7c126 80         <velocity.version>2.3</velocity.version>
d9f9ba 81 <!--        <screw.version>1.0.5</screw.version>-->
e7c126 82         <fastjson.version>1.2.83</fastjson.version>
d9f9ba 83         <guava.version>33.2.1-jre</guava.version>
H 84 <!--        <guice.version>5.1.0</guice.version>-->
e7c126 85         <transmittable-thread-local.version>2.14.5</transmittable-thread-local.version>
d9f9ba 86         <commons-net.version>3.11.1</commons-net.version>
e7c126 87         <jsch.version>0.1.55</jsch.version>
d9f9ba 88         <tika-core.version>2.9.2</tika-core.version>
e7c126 89         <ip2region.version>2.7.0</ip2region.version>
H 90         <bizlog-sdk.version>3.0.6</bizlog-sdk.version>
91         <reflections.version>0.10.2</reflections.version>
92         <!-- 三方云服务相关 -->
93         <okio.version>3.5.0</okio.version>
94         <okhttp3.version>4.11.0</okhttp3.version>
95         <commons-io.version>2.15.1</commons-io.version>
96         <minio.version>8.5.7</minio.version>
97         <aliyun-java-sdk-core.version>4.6.4</aliyun-java-sdk-core.version>
98         <aliyun-java-sdk-dysmsapi.version>2.2.1</aliyun-java-sdk-dysmsapi.version>
99         <tencentcloud-sdk-java.version>3.1.880</tencentcloud-sdk-java.version>
100         <justauth.version>1.0.8</justauth.version>
101         <jimureport.version>1.6.6</jimureport.version>
102         <xercesImpl.version>2.12.2</xercesImpl.version>
103         <weixin-java.version>4.6.0</weixin-java.version>
104         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
105     </properties>
106
107     <profiles>
108         <profile>
109             <id>dev</id>
110             <properties>
111                 <!-- 环境标识,需要与配置文件的名称相对应 -->
112                 <profiles.active>dev</profiles.active>
113                 <nacos.server>127.0.0.1:8848</nacos.server>
114                 <nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
115                 <nacos.config.group>DEFAULT_GROUP</nacos.config.group>
116                 <nacos.username>nacos</nacos.username>
117                 <nacos.password>nacos</nacos.password>
118                 <nacos.metadata.version>1.0.0</nacos.metadata.version>
77997b 119                 <log.path>D:\DLUT\iailab-plat</log.path>
e7c126 120                 <logstash.address>127.0.0.1:4560</logstash.address>
H 121             </properties>
122             <activation>
123                 <!-- 默认环境 -->
124                 <activeByDefault>true</activeByDefault>
125             </activation>
d9f9ba 126         </profile>
H 127         <profile>
128             <id>test</id>
129             <properties>
130                 <!-- 环境标识,需要与配置文件的名称相对应 -->
131                 <profiles.active>test</profiles.active>
132                 <nacos.server>172.16.8.100:8848</nacos.server>
133                 <nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
134                 <nacos.config.group>DEFAULT_GROUP</nacos.config.group>
135                 <nacos.username>nacos</nacos.username>
136                 <nacos.password>nacos</nacos.password>
137                 <nacos.metadata.version>1.0.0</nacos.metadata.version>
4a47e4 138                 <log.path>/home/iailab</log.path>
d9f9ba 139                 <logstash.address>127.0.0.1:4560</logstash.address>
H 140             </properties>
e7c126 141         </profile>
H 142         <profile>
143             <id>prod</id>
144             <properties>
145                 <profiles.active>prod</profiles.active>
146                 <nacos.server>127.0.0.1:8848</nacos.server>
147                 <nacos.discovery.group>DEFAULT_GROUP</nacos.discovery.group>
148                 <nacos.config.group>DEFAULT_GROUP</nacos.config.group>
149                 <nacos.namespace>a7112341-c9e2-4177-bc5b-0d2e8cf0b3bb</nacos.namespace>
150                 <nacos.username>nacos</nacos.username>
151                 <nacos.password>nacos</nacos.password>
152                 <logstash.address>127.0.0.1:4560</logstash.address>
153             </properties>
154         </profile>
155     </profiles>
156
157     <dependencyManagement>
158         <dependencies>
159             <!-- 统一依赖管理 -->
160             <dependency>
161                 <groupId>org.springframework.boot</groupId>
162                 <artifactId>spring-boot-dependencies</artifactId>
163                 <version>${spring.boot.version}</version>
164                 <type>pom</type>
165                 <scope>import</scope>
166             </dependency>
167             <dependency>
168                 <groupId>org.springframework.cloud</groupId>
169                 <artifactId>spring-cloud-dependencies</artifactId>
170                 <version>${spring.cloud.version}</version>
171                 <type>pom</type>
172                 <scope>import</scope>
173             </dependency>
174             <dependency>
175                 <groupId>com.alibaba.cloud</groupId>
176                 <artifactId>spring-cloud-alibaba-dependencies</artifactId>
177                 <version>${spring.cloud.alibaba.version}</version>
178                 <type>pom</type>
179                 <scope>import</scope>
180             </dependency>
181
182             <!-- 业务组件 -->
183             <dependency>
184                 <groupId>io.github.mouzt</groupId>
185                 <artifactId>bizlog-sdk</artifactId>
186                 <version>${bizlog-sdk.version}</version>
187                 <exclusions>
188                     <exclusion> <!-- 排除掉springboot依赖使用项目的 -->
189                         <groupId>org.springframework.boot</groupId>
190                         <artifactId>spring-boot-starter</artifactId>
191                     </exclusion>
192                 </exclusions>
193             </dependency>
194             <dependency>
195                 <groupId>com.iailab</groupId>
196                 <artifactId>iailab-common-biz-tenant</artifactId>
197                 <version>${revision}</version>
198             </dependency>
199             <dependency>
200                 <groupId>com.iailab</groupId>
201                 <artifactId>iailab-common-biz-data-permission</artifactId>
202                 <version>${revision}</version>
203             </dependency>
204             <dependency>
205                 <groupId>com.iailab</groupId>
206                 <artifactId>iailab-common-biz-ip</artifactId>
207                 <version>${revision}</version>
208             </dependency>
209
210             <!-- Spring 核心 -->
211             <dependency>
212                 <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
213                 <groupId>org.springframework.boot</groupId>
214                 <artifactId>spring-boot-configuration-processor</artifactId>
215                 <version>${spring.boot.version}</version>
216             </dependency>
217
218             <dependency>
219                 <groupId>com.iailab</groupId>
220                 <artifactId>iailab-common-env</artifactId>
221                 <version>${revision}</version>
222             </dependency>
223
224             <!-- Web 相关 -->
225             <dependency>
226                 <groupId>com.iailab</groupId>
227                 <artifactId>iailab-common-web</artifactId>
228                 <version>${revision}</version>
229             </dependency>
230
231             <dependency>
232                 <groupId>com.iailab</groupId>
233                 <artifactId>iailab-common-security</artifactId>
234                 <version>${revision}</version>
235             </dependency>
236
237             <dependency>
238                 <groupId>com.iailab</groupId>
239                 <artifactId>iailab-common-websocket</artifactId>
240                 <version>${revision}</version>
241             </dependency>
242
243             <dependency>
244                 <groupId>org.springdoc</groupId> <!-- 接口文档 UI:默认 -->
245                 <artifactId>springdoc-openapi-ui</artifactId>
246                 <version>${springdoc.version}</version>
247             </dependency>
248             <dependency>
249                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j -->
250                 <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
251                 <version>${knife4j.version}</version>
252             </dependency>
253             <dependency>
254                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j【网关专属】 -->
255                 <artifactId>knife4j-gateway-spring-boot-starter</artifactId>
256                 <version>${knife4j.version}</version>
257             </dependency>
258
259             <!-- DB 相关 -->
260             <dependency>
261                 <groupId>com.iailab</groupId>
262                 <artifactId>iailab-common-mybatis</artifactId>
263                 <version>${revision}</version>
264             </dependency>
265             <dependency>
266                 <groupId>org.springdoc</groupId>
267                 <artifactId>springdoc-openapi-webflux-ui</artifactId>
268                 <version>${springdoc.version}</version>
269             </dependency>
270
271             <dependency>
272                 <groupId>com.alibaba</groupId>
273                 <artifactId>druid-spring-boot-starter</artifactId>
274                 <version>${druid.version}</version>
275             </dependency>
276             <dependency>
277                 <groupId>com.baomidou</groupId>
278                 <artifactId>mybatis-plus-boot-starter</artifactId>
279                 <version>${mybatis-plus.version}</version>
280             </dependency>
281             <dependency>
282                 <groupId>com.baomidou</groupId>
283                 <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
284                 <version>${mybatis-plus-generator.version}</version>
285             </dependency>
286             <dependency>
287                 <groupId>com.baomidou</groupId>
288                 <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
289                 <version>${dynamic-datasource.version}</version>
290             </dependency>
291             <dependency>
292                 <groupId>com.github.yulichang</groupId>
293                 <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
294                 <version>${mybatis-plus-join.version}</version>
295             </dependency>
296
297             <dependency>
298                 <groupId>com.iailab</groupId>
299                 <artifactId>iailab-common-redis</artifactId>
300                 <version>${revision}</version>
301             </dependency>
302
303             <dependency>
304                 <groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
305                 <artifactId>easy-trans-spring-boot-starter</artifactId>
306                 <version>${easy-trans.version}</version>
307                 <exclusions>
308                     <exclusion>
309                         <groupId>org.springframework</groupId>
310                         <artifactId>spring-context</artifactId>
311                     </exclusion>
312                     <exclusion>
313                         <groupId>org.springframework.cloud</groupId>
314                         <artifactId>spring-cloud-commons</artifactId>
315                     </exclusion>
316                 </exclusions>
317             </dependency>
318             <dependency>
319                 <groupId>com.fhs-opensource</groupId>
320                 <artifactId>easy-trans-mybatis-plus-extend</artifactId>
321                 <version>${easy-trans.version}</version>
322             </dependency>
323             <dependency>
324                 <groupId>com.fhs-opensource</groupId>
325                 <artifactId>easy-trans-anno</artifactId>
326                 <version>${easy-trans.version}</version>
327             </dependency>
328
329             <dependency>
330                 <groupId>org.redisson</groupId>
331                 <artifactId>redisson-spring-boot-starter</artifactId>
332                 <version>${redisson.version}</version>
333             </dependency>
334
335             <dependency>
336                 <groupId>com.dameng</groupId>
337                 <artifactId>DmJdbcDriver18</artifactId>
338                 <version>${dm8.jdbc.version}</version>
339             </dependency>
340
341             <!-- RPC 远程调用相关 -->
342             <dependency>
343                 <groupId>com.iailab</groupId>
344                 <artifactId>iailab-common-rpc</artifactId>
345                 <version>${revision}</version>
346             </dependency>
347
348             <!-- Registry 注册中心相关 -->
349
350             <!-- Config 配置中心相关 -->
351
352             <!-- Job 定时任务相关 -->
353             <dependency>
354                 <groupId>com.xuxueli</groupId>
355                 <artifactId>xxl-job-core</artifactId>
356                 <version>${xxl-job.version}</version>
357             </dependency>
358             <dependency>
359                 <groupId>com.iailab</groupId>
360                 <artifactId>iailab-common-job</artifactId>
361                 <version>${revision}</version>
362             </dependency>
363
364             <!-- 消息队列相关 -->
365             <dependency>
366                 <groupId>com.iailab</groupId>
367                 <artifactId>iailab-common-mq</artifactId>
368                 <version>${revision}</version>
369             </dependency>
370
371             <dependency>
372                 <groupId>org.apache.rocketmq</groupId>
373                 <artifactId>rocketmq-spring-boot-starter</artifactId>
374                 <version>${rocketmq-spring.version}</version>
375             </dependency>
376
377             <!-- 服务保障相关 -->
378             <dependency>
379                 <groupId>com.iailab</groupId>
380                 <artifactId>iailab-common-protection</artifactId>
381                 <version>${revision}</version>
382             </dependency>
383
384             <dependency>
385                 <groupId>com.baomidou</groupId>
386                 <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
387                 <version>${lock4j.version}</version>
388                 <exclusions>
389                     <exclusion>
390                         <artifactId>redisson-spring-boot-starter</artifactId>
391                         <groupId>org.redisson</groupId>
392                     </exclusion>
393                 </exclusions>
394             </dependency>
395
396             <!-- 监控相关 -->
397             <dependency>
398                 <groupId>com.iailab</groupId>
399                 <artifactId>iailab-common-monitor</artifactId>
400                 <version>${revision}</version>
401             </dependency>
402
403             <dependency>
404                 <groupId>org.apache.skywalking</groupId>
405                 <artifactId>apm-toolkit-trace</artifactId>
406                 <version>${skywalking.version}</version>
407             </dependency>
408             <dependency>
409                 <groupId>org.apache.skywalking</groupId>
410                 <artifactId>apm-toolkit-logback-1.x</artifactId>
411                 <version>${skywalking.version}</version>
412             </dependency>
413             <dependency>
414                 <groupId>org.apache.skywalking</groupId>
415                 <artifactId>apm-toolkit-opentracing</artifactId>
416                 <version>${skywalking.version}</version>
417                 <!--                <exclusions>-->
418                 <!--                    <exclusion>-->
419                 <!--                        <artifactId>opentracing-api</artifactId>-->
420                 <!--                        <groupId>io.opentracing</groupId>-->
421                 <!--                    </exclusion>-->
422                 <!--                    <exclusion>-->
423                 <!--                        <artifactId>opentracing-util</artifactId>-->
424                 <!--                        <groupId>io.opentracing</groupId>-->
425                 <!--                    </exclusion>-->
426                 <!--                </exclusions>-->
427             </dependency>
428             <dependency>
429                 <groupId>io.opentracing</groupId>
430                 <artifactId>opentracing-api</artifactId>
431                 <version>${opentracing.version}</version>
432             </dependency>
433             <dependency>
434                 <groupId>io.opentracing</groupId>
435                 <artifactId>opentracing-util</artifactId>
436                 <version>${opentracing.version}</version>
437             </dependency>
438             <dependency>
439                 <groupId>io.opentracing</groupId>
440                 <artifactId>opentracing-noop</artifactId>
441                 <version>${opentracing.version}</version>
442             </dependency>
443
444             <dependency>
445                 <groupId>de.codecentric</groupId>
446                 <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
447                 <version>${spring-boot-admin.version}</version>
448             </dependency>
449             <dependency>
450                 <groupId>de.codecentric</groupId>
451                 <artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
452                 <version>${spring-boot-admin.version}</version>
453             </dependency>
454
455             <!-- Test 测试相关 -->
456             <dependency>
457                 <groupId>com.iailab</groupId>
458                 <artifactId>iailab-common-test</artifactId>
459                 <version>${revision}</version>
460                 <scope>test</scope>
461             </dependency>
462
463             <dependency>
464                 <groupId>org.mockito</groupId>
465                 <artifactId>mockito-inline</artifactId>
466                 <version>${mockito-inline.version}</version> <!-- 支持 Mockito 的 final 类与 static 方法的 mock -->
467             </dependency>
468
469             <dependency>
470                 <groupId>org.springframework.boot</groupId>
471                 <artifactId>spring-boot-starter-test</artifactId>
472                 <version>${spring.boot.version}</version>
473                 <exclusions>
474                     <exclusion>
475                         <artifactId>asm</artifactId>
476                         <groupId>org.ow2.asm</groupId>
477                     </exclusion>
478                     <exclusion>
479                         <groupId>org.mockito</groupId>
480                         <artifactId>mockito-core</artifactId>
481                     </exclusion>
482                 </exclusions>
483             </dependency>
484
485             <dependency>
486                 <groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
487                 <artifactId>jedis-mock</artifactId>
488                 <version>${jedis-mock.version}</version>
489             </dependency>
490
491             <dependency>
492                 <groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
493                 <artifactId>podam</artifactId>
494                 <version>${podam.version}</version>
495             </dependency>
496
497             <!-- 工作流相关 -->
498             <dependency>
499                 <groupId>org.flowable</groupId>
500                 <artifactId>flowable-spring-boot-starter-process</artifactId>
501                 <version>${flowable.version}</version>
502             </dependency>
503             <dependency>
504                 <groupId>org.flowable</groupId>
505                 <artifactId>flowable-spring-boot-starter-actuator</artifactId>
506                 <version>${flowable.version}</version>
507             </dependency>
508             <!-- 工作流相关结束 -->
509
510             <!-- 工具类相关 -->
511             <dependency>
512                 <groupId>com.iailab</groupId>
513                 <artifactId>iailab-common</artifactId>
514                 <version>${revision}</version>
515             </dependency>
516
517             <dependency>
518                 <groupId>com.iailab</groupId>
519                 <artifactId>iailab-common-excel</artifactId>
520                 <version>${revision}</version>
521             </dependency>
522
523             <dependency>
524                 <groupId>org.projectlombok</groupId>
525                 <artifactId>lombok</artifactId>
526                 <version>${lombok.version}</version>
527             </dependency>
528
529             <dependency>
530                 <groupId>org.mapstruct</groupId>
531                 <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
532                 <version>${mapstruct.version}</version>
533             </dependency>
534             <dependency>
535                 <groupId>org.mapstruct</groupId>
536                 <artifactId>mapstruct-jdk8</artifactId>
537                 <version>${mapstruct.version}</version>
538             </dependency>
539             <dependency>
540                 <groupId>org.mapstruct</groupId>
541                 <artifactId>mapstruct-processor</artifactId>
542                 <version>${mapstruct.version}</version>
543             </dependency>
544
545             <dependency>
546                 <groupId>cn.hutool</groupId>
547                 <artifactId>hutool-all</artifactId>
548                 <version>${hutool.version}</version>
549             </dependency>
550
551             <dependency>
d9f9ba 552                 <groupId>joda-time</groupId>
H 553                 <artifactId>joda-time</artifactId>
554                 <version>${joda.time.version}</version>
555             </dependency>
556
557             <dependency>
e7c126 558                 <groupId>com.alibaba</groupId>
H 559                 <artifactId>easyexcel</artifactId>
560                 <version>${easyexcel.verion}</version>
561             </dependency>
562
563             <dependency>
564                 <groupId>commons-io</groupId>
565                 <artifactId>commons-io</artifactId>
566                 <version>${commons-io.version}</version>
567             </dependency>
568
569             <dependency>
570                 <groupId>org.apache.tika</groupId>
571                 <artifactId>tika-core</artifactId> <!-- 文件类型的识别 -->
572                 <version>${tika-core.version}</version>
573             </dependency>
574
575             <dependency>
576                 <groupId>org.apache.velocity</groupId>
577                 <artifactId>velocity-engine-core</artifactId>
578                 <version>${velocity.version}</version>
579             </dependency>
580
581             <dependency>
582                 <groupId>com.alibaba</groupId>
583                 <artifactId>fastjson</artifactId>
584                 <version>${fastjson.version}</version>
585             </dependency>
586
587             <dependency>
588                 <groupId>cn.smallbun.screw</groupId>
589                 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
590                 <version>${screw.version}</version>
591                 <exclusions>
592                     <exclusion>
593                         <groupId>org.freemarker</groupId>
594                         <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
595                     </exclusion>
596                     <exclusion>
597                         <groupId>com.alibaba</groupId>
598                         <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
599                     </exclusion>
600                 </exclusions>
601             </dependency>
602
603             <dependency>
604                 <groupId>com.google.guava</groupId>
605                 <artifactId>guava</artifactId>
606                 <version>${guava.version}</version>
607             </dependency>
608
609             <dependency>
610                 <groupId>com.google.inject</groupId>
611                 <artifactId>guice</artifactId>
612                 <version>${guice.version}</version>
613             </dependency>
614
615             <dependency>
616                 <groupId>com.alibaba</groupId>
617                 <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
618                 <version>${transmittable-thread-local.version}</version>
619             </dependency>
620
621             <dependency>
622                 <groupId>commons-net</groupId>
623                 <artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 -->
624                 <version>${commons-net.version}</version>
625             </dependency>
626             <dependency>
627                 <groupId>com.jcraft</groupId>
628                 <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
629                 <version>${jsch.version}</version>
630             </dependency>
631
632             <dependency>
633                 <groupId>com.xingyuv</groupId>
634                 <artifactId>spring-boot-starter-captcha-plus</artifactId>
635                 <version>${captcha-plus.version}</version>
636             </dependency>
637
638             <dependency>
639                 <groupId>org.lionsoul</groupId>
640                 <artifactId>ip2region</artifactId>
641                 <version>${ip2region.version}</version>
642             </dependency>
643
644             <dependency>
645                 <groupId>org.jsoup</groupId>
646                 <artifactId>jsoup</artifactId>
647                 <version>${jsoup.version}</version>
648             </dependency>
649
650             <dependency>
651                 <groupId>org.reflections</groupId>
652                 <artifactId>reflections</artifactId>
653                 <version>${reflections.version}</version>
654             </dependency>
655
656             <!-- 三方云服务相关 -->
657             <dependency>
658                 <groupId>com.squareup.okio</groupId>
659                 <artifactId>okio</artifactId>
660                 <version>${okio.version}</version>
661             </dependency>
662             <dependency>
663                 <groupId>com.squareup.okhttp3</groupId>
664                 <artifactId>okhttp</artifactId>
665                 <version>${okhttp3.version}</version>
666             </dependency>
667             <dependency>
668                 <groupId>io.minio</groupId>
669                 <artifactId>minio</artifactId>
670                 <version>${minio.version}</version>
671             </dependency>
672
673             <dependency>
674                 <groupId>com.github.binarywang</groupId>
675                 <artifactId>weixin-java-pay</artifactId>
676                 <version>${weixin-java.version}</version>
677             </dependency>
678             <dependency>
679                 <groupId>com.github.binarywang</groupId>
680                 <artifactId>wx-java-mp-spring-boot-starter</artifactId>
681                 <version>${weixin-java.version}</version>
682             </dependency>
683             <dependency>
684                 <groupId>com.github.binarywang</groupId>
685                 <artifactId>wx-java-miniapp-spring-boot-starter</artifactId>
686                 <version>${weixin-java.version}</version>
687             </dependency>
688
689             <!-- SMS SDK begin -->
690             <dependency>
691                 <groupId>com.aliyun</groupId>
692                 <artifactId>aliyun-java-sdk-core</artifactId>
693                 <version>${aliyun-java-sdk-core.version}</version>
694                 <exclusions>
695                     <exclusion>
696                         <artifactId>opentracing-api</artifactId>
697                         <groupId>io.opentracing</groupId>
698                     </exclusion>
699                     <exclusion>
700                         <artifactId>opentracing-util</artifactId>
701                         <groupId>io.opentracing</groupId>
702                     </exclusion>
703                 </exclusions>
704             </dependency>
705             <dependency>
706                 <groupId>com.aliyun</groupId>
707                 <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
708                 <version>${aliyun-java-sdk-dysmsapi.version}</version>
709             </dependency>
710             <dependency>
711                 <groupId>com.tencentcloudapi</groupId>
712                 <artifactId>tencentcloud-sdk-java-sms</artifactId>
713                 <version>${tencentcloud-sdk-java.version}</version>
714             </dependency>
715             <!-- SMS SDK end -->
716
717             <dependency>
718                 <groupId>com.xingyuv</groupId>
719                 <artifactId>spring-boot-starter-justauth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
720                 <version>${justauth.version}</version>
721                 <exclusions>
722                     <exclusion>
723                         <groupId>cn.hutool</groupId>
724                         <artifactId>hutool-core</artifactId>
725                     </exclusion>
726                 </exclusions>
727             </dependency>
728
729             <!-- 积木报表-->
730             <dependency>
731                 <groupId>org.jeecgframework.jimureport</groupId>
732                 <artifactId>jimureport-spring-boot-starter</artifactId>
733                 <version>${jimureport.version}</version>
734                 <exclusions>
735                     <exclusion>
736                         <groupId>com.alibaba</groupId>
737                         <artifactId>druid</artifactId>
738                     </exclusion>
739                 </exclusions>
740             </dependency>
741             <dependency>
742                 <groupId>xerces</groupId>
743                 <artifactId>xercesImpl</artifactId>
744                 <version>${xercesImpl.version}</version>
745             </dependency>
746
747         </dependencies>
748     </dependencyManagement>
749
750     <build>
751         <resources>
752             <resource>
753                 <directory>src/main/resources</directory>
754                 <!-- 关闭过滤 -->
755                 <filtering>false</filtering>
756             </resource>
757             <resource>
758                 <directory>src/main/webapp/</directory>
759             </resource>
760             <resource>
761                 <directory>src/main/resources</directory>
762                 <!-- 引入所有 匹配文件进行过滤 -->
763                 <includes>
764                     <include>application*</include>
765                     <include>bootstrap*</include>
766                     <include>logback*</include>
767                 </includes>
768                 <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
769                 <filtering>true</filtering>
770             </resource>
771         </resources>
772         <plugins>
773             <!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
774             <!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
775             <plugin>
776                 <groupId>org.apache.maven.plugins</groupId>
777                 <artifactId>maven-surefire-plugin</artifactId>
778                 <version>${maven-surefire-plugin.version}</version>
779                 <configuration>
780                     <skip>true</skip>
781                 </configuration>
782             </plugin>
783             <!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 -->
784             <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
785             <plugin>
786                 <groupId>org.apache.maven.plugins</groupId>
787                 <artifactId>maven-compiler-plugin</artifactId>
788                 <version>${maven-compiler-plugin.version}</version>
789                 <configuration>
790                     <annotationProcessorPaths>
791                         <path>
792                             <groupId>org.springframework.boot</groupId>
793                             <artifactId>spring-boot-configuration-processor</artifactId>
794                             <version>${spring.boot.version}</version>
795                         </path>
796                         <path>
797                             <groupId>org.projectlombok</groupId>
798                             <artifactId>lombok</artifactId>
799                             <version>${lombok.version}</version>
800                         </path>
801                         <path>
802                             <groupId>org.mapstruct</groupId>
803                             <artifactId>mapstruct-processor</artifactId>
804                             <version>${mapstruct.version}</version>
805                         </path>
806                     </annotationProcessorPaths>
807                 </configuration>
808             </plugin>
809             <!-- 统一 revision 版本 -->
810             <plugin>
811                 <groupId>org.codehaus.mojo</groupId>
812                 <artifactId>flatten-maven-plugin</artifactId>
813                 <version>${flatten-maven-plugin.version}</version>
814                 <configuration>
815                     <flattenMode>resolveCiFriendliesOnly</flattenMode>
816                     <updatePomFile>true</updatePomFile>
817                 </configuration>
818                 <executions>
819                     <execution>
820                         <goals>
821                             <goal>flatten</goal>
822                         </goals>
823                         <id>flatten</id>
824                         <phase>process-resources</phase>
825                     </execution>
826                     <execution>
827                         <goals>
828                             <goal>clean</goal>
829                         </goals>
830                         <id>flatten.clean</id>
831                         <phase>clean</phase>
832                     </execution>
833                 </executions>
834             </plugin>
835         </plugins>
836     </build>
837
838     <distributionManagement>
839         <repository>
840             <id>iailab-releases</id>
841             <name>Iailab Release Repository</name>
842             <url>http://172.16.8.100:8090/repository/iailab-releases/</url>
843         </repository>
844         <snapshotRepository>
845             <id>iailab-snapshots</id>
846             <name>Iailab Snapshot Repository</name>
847             <url>http://172.16.8.100:8090/repository/iailab-snapshots/</url>
848         </snapshotRepository>
849     </distributionManagement>
850
851     <!-- 使用 iailab 私有云 -->
852 <!--    <repositories>-->
853 <!--        <repository>-->
854 <!--            <id>iailab</id>-->
855 <!--            <name>iailab</name>-->
856 <!--            <url>http://172.16.8.100:8090/repository/iailab</url>-->
857 <!--        </repository>-->
858 <!--    </repositories>-->
859
860 </project>