沙钢智慧能源系统后端代码
liriming
2024-12-04 f0a8000dd1df19739b678fe527163a821268ae3c
提交 | 用户 | 时间
97edd7 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>
7     <artifactId>shasteel</artifactId>
8     <version>${revision}</version>
9     <packaging>pom</packaging>
10     <description>
11         快速开发框架,默认基础system,data,model
12     </description>
13     <modules>
fc74a0 14 <!--        <module>shasteel-api</module>-->
97edd7 15         <module>shasteel-biz</module>
H 16     </modules>
17
18     <properties>
19
20         <revision>0.0.1</revision>
21         <!-- Maven 相关 -->
22         <java.version>1.8</java.version>
23         <maven.compiler.source>${java.version}</maven.compiler.source>
24         <maven.compiler.target>${java.version}</maven.compiler.target>
25         <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
26         <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
27         <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
28         <!-- 统一依赖管理 -->
29         <spring.boot.version>2.7.18</spring.boot.version>
30         <spring.cloud.version>2021.0.9</spring.cloud.version>
31         <spring.cloud.alibaba.version>2021.0.6.1</spring.cloud.alibaba.version>
32         <!-- Web 相关 -->
33         <servlet.version>2.5</servlet.version>
34         <springdoc.version>1.7.0</springdoc.version>
35         <knife4j.version>4.5.0</knife4j.version>
36         <!-- DB 相关 -->
37         <druid.version>1.2.23</druid.version>
38         <mybatis.version>3.5.16</mybatis.version>
39         <mybatis-plus.version>3.5.7</mybatis-plus.version>
40         <mybatis-plus-generator.version>3.5.7</mybatis-plus-generator.version>
41         <dynamic-datasource.version>4.3.1</dynamic-datasource.version>
42         <mybatis-plus-join.version>1.4.13</mybatis-plus-join.version>
43         <easy-trans.version>3.0.5</easy-trans.version>
44         <redisson.version>3.18.0</redisson.version> <!-- Spring Boot 2.X 最多使用 3.18.0 版本,否则会报 Tuple NoClassDefFoundError -->
45         <dm8.jdbc.version>8.1.3.62</dm8.jdbc.version>
46         <!-- 消息队列 -->
47         <rocketmq-spring.version>2.3.0</rocketmq-spring.version>
48         <!-- RPC 相关 -->
49         <!-- Config 配置中心相关 -->
50         <apollo.version>1.9.2</apollo.version>
51         <!-- Job 定时任务相关 -->
52         <xxl-job.version>2.4.0</xxl-job.version>
53         <!-- 服务保障相关 -->
54         <lock4j.version>2.2.7</lock4j.version>
55         <!-- 监控相关 -->
56         <skywalking.version>8.12.0</skywalking.version>
57         <spring-boot-admin.version>2.7.15</spring-boot-admin.version>
58         <opentracing.version>0.33.0</opentracing.version>
59         <!-- Test 测试相关 -->
60         <podam.version>7.2.11.RELEASE</podam.version> <!-- Spring Boot 2.X 最多使用 7.2.11 版本 -->
61         <jedis-mock.version>1.0.13</jedis-mock.version>
62         <mockito-inline.version>4.11.0</mockito-inline.version>
63         <!-- Bpm 工作流相关 -->
64         <flowable.version>6.8.0</flowable.version>
65         <!-- 工具类相关 -->
66         <captcha-plus.version>1.0.8</captcha-plus.version>
67         <jsoup.version>1.18.1</jsoup.version>
68         <lombok.version>1.18.34</lombok.version>
69         <mapstruct.version>1.5.5.Final</mapstruct.version>
70         <hutool.version>5.8.29</hutool.version>
71         <joda.time.version>2.10.14</joda.time.version>
72         <easyexcel.verion>3.3.4</easyexcel.verion>
73         <velocity.version>2.3</velocity.version>
74         <!--        <screw.version>1.0.5</screw.version>-->
75         <fastjson.version>1.2.83</fastjson.version>
76         <guava.version>33.2.1-jre</guava.version>
77         <!--        <guice.version>5.1.0</guice.version>-->
78         <transmittable-thread-local.version>2.14.5</transmittable-thread-local.version>
79         <commons-net.version>3.11.1</commons-net.version>
80         <jsch.version>0.1.55</jsch.version>
81         <tika-core.version>2.9.2</tika-core.version>
82         <ip2region.version>2.7.0</ip2region.version>
83         <bizlog-sdk.version>3.0.6</bizlog-sdk.version>
84         <reflections.version>0.10.2</reflections.version>
85         <!-- 三方云服务相关 -->
86         <okio.version>3.5.0</okio.version>
87         <okhttp3.version>4.11.0</okhttp3.version>
88         <commons-io.version>2.15.1</commons-io.version>
89         <minio.version>8.5.7</minio.version>
90         <aliyun-java-sdk-core.version>4.6.4</aliyun-java-sdk-core.version>
91         <aliyun-java-sdk-dysmsapi.version>2.2.1</aliyun-java-sdk-dysmsapi.version>
92         <tencentcloud-sdk-java.version>3.1.880</tencentcloud-sdk-java.version>
93         <justauth.version>1.0.8</justauth.version>
94         <jimureport.version>1.6.6</jimureport.version>
95         <xercesImpl.version>2.12.2</xercesImpl.version>
96         <weixin-java.version>4.6.0</weixin-java.version>
97         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
98     </properties>
99
100     <dependencyManagement>
101         <dependencies>
102             <!-- 统一依赖管理 -->
103             <dependency>
104                 <groupId>org.springframework.boot</groupId>
105                 <artifactId>spring-boot-dependencies</artifactId>
106                 <version>${spring.boot.version}</version>
107                 <type>pom</type>
108                 <scope>import</scope>
109             </dependency>
110             <dependency>
111                 <groupId>org.springframework.cloud</groupId>
112                 <artifactId>spring-cloud-dependencies</artifactId>
113                 <version>${spring.cloud.version}</version>
114                 <type>pom</type>
115                 <scope>import</scope>
116             </dependency>
117             <dependency>
118                 <groupId>com.alibaba.cloud</groupId>
119                 <artifactId>spring-cloud-alibaba-dependencies</artifactId>
120                 <version>${spring.cloud.alibaba.version}</version>
121                 <type>pom</type>
122                 <scope>import</scope>
123             </dependency>
124
125             <!-- 业务组件 -->
126             <dependency>
127                 <groupId>io.github.mouzt</groupId>
128                 <artifactId>bizlog-sdk</artifactId>
129                 <version>${bizlog-sdk.version}</version>
130                 <exclusions>
131                     <exclusion> <!-- 排除掉springboot依赖使用项目的 -->
132                         <groupId>org.springframework.boot</groupId>
133                         <artifactId>spring-boot-starter</artifactId>
134                     </exclusion>
135                 </exclusions>
136             </dependency>
137             <dependency>
138                 <groupId>com.iailab</groupId>
139                 <artifactId>iailab-common-biz-tenant</artifactId>
140                 <version>${revision}</version>
141             </dependency>
142             <dependency>
143                 <groupId>com.iailab</groupId>
144                 <artifactId>iailab-common-biz-data-permission</artifactId>
145                 <version>${revision}</version>
146             </dependency>
147             <dependency>
148                 <groupId>com.iailab</groupId>
149                 <artifactId>iailab-common-biz-ip</artifactId>
150                 <version>${revision}</version>
151             </dependency>
152
153             <!-- Spring 核心 -->
154             <dependency>
155                 <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
156                 <groupId>org.springframework.boot</groupId>
157                 <artifactId>spring-boot-configuration-processor</artifactId>
158                 <version>${spring.boot.version}</version>
159             </dependency>
160
161             <dependency>
162                 <groupId>com.iailab</groupId>
163                 <artifactId>iailab-common-env</artifactId>
164                 <version>${revision}</version>
165             </dependency>
166
32b235 167             <!-- 消息队列相关 -->
L 168             <dependency>
169                 <groupId>com.iailab</groupId>
170                 <artifactId>iailab-common-mq</artifactId>
171                 <version>${revision}</version>
172             </dependency>
173
174
97edd7 175             <!-- Web 相关 -->
H 176             <dependency>
177                 <groupId>com.iailab</groupId>
178                 <artifactId>iailab-common-web</artifactId>
179                 <version>${revision}</version>
180             </dependency>
181
182             <dependency>
183                 <groupId>com.iailab</groupId>
184                 <artifactId>iailab-common-security</artifactId>
185                 <version>${revision}</version>
186             </dependency>
187
188             <dependency>
189                 <groupId>com.iailab</groupId>
190                 <artifactId>iailab-common-websocket</artifactId>
191                 <version>${revision}</version>
192             </dependency>
193
194             <dependency>
195                 <groupId>org.springdoc</groupId> <!-- 接口文档 UI:默认 -->
196                 <artifactId>springdoc-openapi-ui</artifactId>
197                 <version>${springdoc.version}</version>
198             </dependency>
199             <dependency>
200                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j -->
201                 <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
202                 <version>${knife4j.version}</version>
203             </dependency>
204             <dependency>
205                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j【网关专属】 -->
206                 <artifactId>knife4j-gateway-spring-boot-starter</artifactId>
207                 <version>${knife4j.version}</version>
208             </dependency>
209
210             <!-- DB 相关 -->
211             <dependency>
212                 <groupId>com.iailab</groupId>
213                 <artifactId>iailab-common-mybatis</artifactId>
214                 <version>${revision}</version>
215             </dependency>
216             <dependency>
217                 <groupId>org.springdoc</groupId>
218                 <artifactId>springdoc-openapi-webflux-ui</artifactId>
219                 <version>${springdoc.version}</version>
220             </dependency>
221
222             <dependency>
223                 <groupId>com.alibaba</groupId>
224                 <artifactId>druid-spring-boot-starter</artifactId>
225                 <version>${druid.version}</version>
226             </dependency>
227             <dependency>
228                 <groupId>com.baomidou</groupId>
229                 <artifactId>mybatis-plus-boot-starter</artifactId>
230                 <version>${mybatis-plus.version}</version>
231             </dependency>
232             <dependency>
233                 <groupId>com.baomidou</groupId>
234                 <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
235                 <version>${mybatis-plus-generator.version}</version>
236             </dependency>
237             <dependency>
238                 <groupId>com.baomidou</groupId>
239                 <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
240                 <version>${dynamic-datasource.version}</version>
241             </dependency>
242             <dependency>
243                 <groupId>com.github.yulichang</groupId>
244                 <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
245                 <version>${mybatis-plus-join.version}</version>
246             </dependency>
247
248             <dependency>
249                 <groupId>com.iailab</groupId>
250                 <artifactId>iailab-common-redis</artifactId>
251                 <version>${revision}</version>
252             </dependency>
253
254             <dependency>
255                 <groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
256                 <artifactId>easy-trans-spring-boot-starter</artifactId>
257                 <version>${easy-trans.version}</version>
258                 <exclusions>
259                     <exclusion>
260                         <groupId>org.springframework</groupId>
261                         <artifactId>spring-context</artifactId>
262                     </exclusion>
263                     <exclusion>
264                         <groupId>org.springframework.cloud</groupId>
265                         <artifactId>spring-cloud-commons</artifactId>
266                     </exclusion>
267                 </exclusions>
268             </dependency>
269             <dependency>
270                 <groupId>com.fhs-opensource</groupId>
271                 <artifactId>easy-trans-mybatis-plus-extend</artifactId>
272                 <version>${easy-trans.version}</version>
273             </dependency>
274             <dependency>
275                 <groupId>com.fhs-opensource</groupId>
276                 <artifactId>easy-trans-anno</artifactId>
277                 <version>${easy-trans.version}</version>
278             </dependency>
279
280             <dependency>
281                 <groupId>org.redisson</groupId>
282                 <artifactId>redisson-spring-boot-starter</artifactId>
283                 <version>${redisson.version}</version>
284             </dependency>
285
286             <dependency>
287                 <groupId>com.dameng</groupId>
288                 <artifactId>DmJdbcDriver18</artifactId>
289                 <version>${dm8.jdbc.version}</version>
290             </dependency>
291
292             <!-- RPC 远程调用相关 -->
293             <dependency>
294                 <groupId>com.iailab</groupId>
295                 <artifactId>iailab-common-rpc</artifactId>
296                 <version>${revision}</version>
297             </dependency>
298
299             <dependency>
300                 <groupId>com.baomidou</groupId>
301                 <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
302                 <version>${lock4j.version}</version>
303                 <exclusions>
304                     <exclusion>
305                         <artifactId>redisson-spring-boot-starter</artifactId>
306                         <groupId>org.redisson</groupId>
307                     </exclusion>
308                 </exclusions>
309             </dependency>
310
311             <!-- 监控相关 -->
312             <dependency>
313                 <groupId>com.iailab</groupId>
314                 <artifactId>iailab-common-monitor</artifactId>
315                 <version>${revision}</version>
316             </dependency>
317
318             <!-- Test 测试相关 -->
319             <dependency>
320                 <groupId>com.iailab</groupId>
321                 <artifactId>iailab-common-test</artifactId>
322                 <version>${revision}</version>
323                 <scope>test</scope>
324             </dependency>
325
326             <!-- 工具类相关 -->
327             <dependency>
328                 <groupId>com.iailab</groupId>
329                 <artifactId>iailab-common</artifactId>
330                 <version>${revision}</version>
331             </dependency>
332
333             <dependency>
334                 <groupId>com.iailab</groupId>
335                 <artifactId>iailab-common-excel</artifactId>
336                 <version>${revision}</version>
337             </dependency>
338
339             <dependency>
32b235 340                 <groupId>com.iailab</groupId>
L 341                 <artifactId>iailab-module-model-api</artifactId>
342                 <version>${revision}</version>
343             </dependency>
344
345             <dependency>
97edd7 346                 <groupId>org.projectlombok</groupId>
H 347                 <artifactId>lombok</artifactId>
348                 <version>${lombok.version}</version>
349             </dependency>
350
351             <dependency>
352                 <groupId>org.mapstruct</groupId>
353                 <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
354                 <version>${mapstruct.version}</version>
355             </dependency>
356             <dependency>
357                 <groupId>org.mapstruct</groupId>
358                 <artifactId>mapstruct-jdk8</artifactId>
359                 <version>${mapstruct.version}</version>
360             </dependency>
361             <dependency>
362                 <groupId>org.mapstruct</groupId>
363                 <artifactId>mapstruct-processor</artifactId>
364                 <version>${mapstruct.version}</version>
365             </dependency>
366
367             <dependency>
368                 <groupId>cn.hutool</groupId>
369                 <artifactId>hutool-all</artifactId>
370                 <version>${hutool.version}</version>
371             </dependency>
372
373             <dependency>
374                 <groupId>joda-time</groupId>
375                 <artifactId>joda-time</artifactId>
376                 <version>${joda.time.version}</version>
377             </dependency>
378
379             <dependency>
380                 <groupId>com.alibaba</groupId>
381                 <artifactId>easyexcel</artifactId>
382                 <version>${easyexcel.verion}</version>
383             </dependency>
384
385             <dependency>
386                 <groupId>commons-io</groupId>
387                 <artifactId>commons-io</artifactId>
388                 <version>${commons-io.version}</version>
389             </dependency>
390
391             <dependency>
392                 <groupId>org.apache.tika</groupId>
393                 <artifactId>tika-core</artifactId> <!-- 文件类型的识别 -->
394                 <version>${tika-core.version}</version>
395             </dependency>
396
397             <dependency>
398                 <groupId>org.apache.velocity</groupId>
399                 <artifactId>velocity-engine-core</artifactId>
400                 <version>${velocity.version}</version>
401             </dependency>
402
403             <dependency>
404                 <groupId>com.alibaba</groupId>
405                 <artifactId>fastjson</artifactId>
406                 <version>${fastjson.version}</version>
407             </dependency>
408
409             <dependency>
410                 <groupId>cn.smallbun.screw</groupId>
411                 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
412                 <version>${screw.version}</version>
413                 <exclusions>
414                     <exclusion>
415                         <groupId>org.freemarker</groupId>
416                         <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
417                     </exclusion>
418                     <exclusion>
419                         <groupId>com.alibaba</groupId>
420                         <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
421                     </exclusion>
422                 </exclusions>
423             </dependency>
424
425             <dependency>
426                 <groupId>com.google.guava</groupId>
427                 <artifactId>guava</artifactId>
428                 <version>${guava.version}</version>
429             </dependency>
430
431             <dependency>
432                 <groupId>com.google.inject</groupId>
433                 <artifactId>guice</artifactId>
434                 <version>${guice.version}</version>
435             </dependency>
436
437             <dependency>
438                 <groupId>com.alibaba</groupId>
439                 <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
440                 <version>${transmittable-thread-local.version}</version>
441             </dependency>
442
443             <dependency>
444                 <groupId>commons-net</groupId>
445                 <artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 -->
446                 <version>${commons-net.version}</version>
447             </dependency>
448             <dependency>
449                 <groupId>com.jcraft</groupId>
450                 <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
451                 <version>${jsch.version}</version>
452             </dependency>
453
454             <dependency>
455                 <groupId>com.xingyuv</groupId>
456                 <artifactId>spring-boot-starter-captcha-plus</artifactId>
457                 <version>${captcha-plus.version}</version>
458             </dependency>
459
460             <dependency>
461                 <groupId>org.lionsoul</groupId>
462                 <artifactId>ip2region</artifactId>
463                 <version>${ip2region.version}</version>
464             </dependency>
465
466             <dependency>
467                 <groupId>org.jsoup</groupId>
468                 <artifactId>jsoup</artifactId>
469                 <version>${jsoup.version}</version>
470             </dependency>
471
472             <dependency>
473                 <groupId>org.reflections</groupId>
474                 <artifactId>reflections</artifactId>
475                 <version>${reflections.version}</version>
476             </dependency>
477
478             <!-- 三方云服务相关 -->
479             <dependency>
480                 <groupId>com.squareup.okio</groupId>
481                 <artifactId>okio</artifactId>
482                 <version>${okio.version}</version>
483             </dependency>
484             <dependency>
485                 <groupId>com.squareup.okhttp3</groupId>
486                 <artifactId>okhttp</artifactId>
487                 <version>${okhttp3.version}</version>
488             </dependency>
489             <dependency>
490                 <groupId>io.minio</groupId>
491                 <artifactId>minio</artifactId>
492                 <version>${minio.version}</version>
493             </dependency>
494
495             <dependency>
496                 <groupId>com.github.binarywang</groupId>
497                 <artifactId>weixin-java-pay</artifactId>
498                 <version>${weixin-java.version}</version>
499             </dependency>
500             <dependency>
501                 <groupId>com.github.binarywang</groupId>
502                 <artifactId>wx-java-mp-spring-boot-starter</artifactId>
503                 <version>${weixin-java.version}</version>
504             </dependency>
505             <dependency>
506                 <groupId>com.github.binarywang</groupId>
507                 <artifactId>wx-java-miniapp-spring-boot-starter</artifactId>
508                 <version>${weixin-java.version}</version>
509             </dependency>
510
511             <dependency>
512                 <groupId>com.xingyuv</groupId>
513                 <artifactId>spring-boot-starter-justauth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
514                 <version>${justauth.version}</version>
515                 <exclusions>
516                     <exclusion>
517                         <groupId>cn.hutool</groupId>
518                         <artifactId>hutool-core</artifactId>
519                     </exclusion>
520                 </exclusions>
521             </dependency>
522
523             <dependency>
524                 <groupId>com.github.binarywang</groupId>
525                 <artifactId>wx-java-miniapp-spring-boot-starter</artifactId>
526                 <version>${weixin-java.version}</version>
527             </dependency>
528
529             <!-- SMS SDK begin -->
530             <dependency>
531                 <groupId>com.aliyun</groupId>
532                 <artifactId>aliyun-java-sdk-core</artifactId>
533                 <version>${aliyun-java-sdk-core.version}</version>
534                 <exclusions>
535                     <exclusion>
536                         <artifactId>opentracing-api</artifactId>
537                         <groupId>io.opentracing</groupId>
538                     </exclusion>
539                     <exclusion>
540                         <artifactId>opentracing-util</artifactId>
541                         <groupId>io.opentracing</groupId>
542                     </exclusion>
543                 </exclusions>
544             </dependency>
545             <dependency>
546                 <groupId>com.aliyun</groupId>
547                 <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
548                 <version>${aliyun-java-sdk-dysmsapi.version}</version>
549             </dependency>
550             <dependency>
551                 <groupId>com.tencentcloudapi</groupId>
552                 <artifactId>tencentcloud-sdk-java-sms</artifactId>
553                 <version>${tencentcloud-sdk-java.version}</version>
554             </dependency>
555
556         </dependencies>
557     </dependencyManagement>
558
559     <build>
560         <!-- 设置构建的 jar 包名 -->
561         <finalName>${project.artifactId}</finalName>
562         <plugins>
563             <!-- 打包 -->
564             <plugin>
565                 <groupId>org.springframework.boot</groupId>
566                 <artifactId>spring-boot-maven-plugin</artifactId>
567                 <version>${spring.boot.version}</version>
568                 <executions>
569                     <execution>
570                         <goals>
571                             <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
572                         </goals>
573                     </execution>
574                 </executions>
575             </plugin>
576         </plugins>
577     </build>
578
579
580 </project>