沙钢智慧能源系统后端代码
houzhongjian
2024-10-29 fc74a02dd11988a36232498b0809a9b39afa229e
提交 | 用户 | 时间
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
167             <!-- Web 相关 -->
168             <dependency>
169                 <groupId>com.iailab</groupId>
170                 <artifactId>iailab-common-web</artifactId>
171                 <version>${revision}</version>
172             </dependency>
173
174             <dependency>
175                 <groupId>com.iailab</groupId>
176                 <artifactId>iailab-common-security</artifactId>
177                 <version>${revision}</version>
178             </dependency>
179
180             <dependency>
181                 <groupId>com.iailab</groupId>
182                 <artifactId>iailab-common-websocket</artifactId>
183                 <version>${revision}</version>
184             </dependency>
185
186             <dependency>
187                 <groupId>org.springdoc</groupId> <!-- 接口文档 UI:默认 -->
188                 <artifactId>springdoc-openapi-ui</artifactId>
189                 <version>${springdoc.version}</version>
190             </dependency>
191             <dependency>
192                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j -->
193                 <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
194                 <version>${knife4j.version}</version>
195             </dependency>
196             <dependency>
197                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j【网关专属】 -->
198                 <artifactId>knife4j-gateway-spring-boot-starter</artifactId>
199                 <version>${knife4j.version}</version>
200             </dependency>
201
202             <!-- DB 相关 -->
203             <dependency>
204                 <groupId>com.iailab</groupId>
205                 <artifactId>iailab-common-mybatis</artifactId>
206                 <version>${revision}</version>
207             </dependency>
208             <dependency>
209                 <groupId>org.springdoc</groupId>
210                 <artifactId>springdoc-openapi-webflux-ui</artifactId>
211                 <version>${springdoc.version}</version>
212             </dependency>
213
214             <dependency>
215                 <groupId>com.alibaba</groupId>
216                 <artifactId>druid-spring-boot-starter</artifactId>
217                 <version>${druid.version}</version>
218             </dependency>
219             <dependency>
220                 <groupId>com.baomidou</groupId>
221                 <artifactId>mybatis-plus-boot-starter</artifactId>
222                 <version>${mybatis-plus.version}</version>
223             </dependency>
224             <dependency>
225                 <groupId>com.baomidou</groupId>
226                 <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
227                 <version>${mybatis-plus-generator.version}</version>
228             </dependency>
229             <dependency>
230                 <groupId>com.baomidou</groupId>
231                 <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
232                 <version>${dynamic-datasource.version}</version>
233             </dependency>
234             <dependency>
235                 <groupId>com.github.yulichang</groupId>
236                 <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
237                 <version>${mybatis-plus-join.version}</version>
238             </dependency>
239
240             <dependency>
241                 <groupId>com.iailab</groupId>
242                 <artifactId>iailab-common-redis</artifactId>
243                 <version>${revision}</version>
244             </dependency>
245
246             <dependency>
247                 <groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
248                 <artifactId>easy-trans-spring-boot-starter</artifactId>
249                 <version>${easy-trans.version}</version>
250                 <exclusions>
251                     <exclusion>
252                         <groupId>org.springframework</groupId>
253                         <artifactId>spring-context</artifactId>
254                     </exclusion>
255                     <exclusion>
256                         <groupId>org.springframework.cloud</groupId>
257                         <artifactId>spring-cloud-commons</artifactId>
258                     </exclusion>
259                 </exclusions>
260             </dependency>
261             <dependency>
262                 <groupId>com.fhs-opensource</groupId>
263                 <artifactId>easy-trans-mybatis-plus-extend</artifactId>
264                 <version>${easy-trans.version}</version>
265             </dependency>
266             <dependency>
267                 <groupId>com.fhs-opensource</groupId>
268                 <artifactId>easy-trans-anno</artifactId>
269                 <version>${easy-trans.version}</version>
270             </dependency>
271
272             <dependency>
273                 <groupId>org.redisson</groupId>
274                 <artifactId>redisson-spring-boot-starter</artifactId>
275                 <version>${redisson.version}</version>
276             </dependency>
277
278             <dependency>
279                 <groupId>com.dameng</groupId>
280                 <artifactId>DmJdbcDriver18</artifactId>
281                 <version>${dm8.jdbc.version}</version>
282             </dependency>
283
284             <!-- RPC 远程调用相关 -->
285             <dependency>
286                 <groupId>com.iailab</groupId>
287                 <artifactId>iailab-common-rpc</artifactId>
288                 <version>${revision}</version>
289             </dependency>
290
291             <dependency>
292                 <groupId>com.baomidou</groupId>
293                 <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
294                 <version>${lock4j.version}</version>
295                 <exclusions>
296                     <exclusion>
297                         <artifactId>redisson-spring-boot-starter</artifactId>
298                         <groupId>org.redisson</groupId>
299                     </exclusion>
300                 </exclusions>
301             </dependency>
302
303             <!-- 监控相关 -->
304             <dependency>
305                 <groupId>com.iailab</groupId>
306                 <artifactId>iailab-common-monitor</artifactId>
307                 <version>${revision}</version>
308             </dependency>
309
310             <!-- Test 测试相关 -->
311             <dependency>
312                 <groupId>com.iailab</groupId>
313                 <artifactId>iailab-common-test</artifactId>
314                 <version>${revision}</version>
315                 <scope>test</scope>
316             </dependency>
317
318             <!-- 工具类相关 -->
319             <dependency>
320                 <groupId>com.iailab</groupId>
321                 <artifactId>iailab-common</artifactId>
322                 <version>${revision}</version>
323             </dependency>
324
325             <dependency>
326                 <groupId>com.iailab</groupId>
327                 <artifactId>iailab-common-excel</artifactId>
328                 <version>${revision}</version>
329             </dependency>
330
331             <dependency>
332                 <groupId>org.projectlombok</groupId>
333                 <artifactId>lombok</artifactId>
334                 <version>${lombok.version}</version>
335             </dependency>
336
337             <dependency>
338                 <groupId>org.mapstruct</groupId>
339                 <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
340                 <version>${mapstruct.version}</version>
341             </dependency>
342             <dependency>
343                 <groupId>org.mapstruct</groupId>
344                 <artifactId>mapstruct-jdk8</artifactId>
345                 <version>${mapstruct.version}</version>
346             </dependency>
347             <dependency>
348                 <groupId>org.mapstruct</groupId>
349                 <artifactId>mapstruct-processor</artifactId>
350                 <version>${mapstruct.version}</version>
351             </dependency>
352
353             <dependency>
354                 <groupId>cn.hutool</groupId>
355                 <artifactId>hutool-all</artifactId>
356                 <version>${hutool.version}</version>
357             </dependency>
358
359             <dependency>
360                 <groupId>joda-time</groupId>
361                 <artifactId>joda-time</artifactId>
362                 <version>${joda.time.version}</version>
363             </dependency>
364
365             <dependency>
366                 <groupId>com.alibaba</groupId>
367                 <artifactId>easyexcel</artifactId>
368                 <version>${easyexcel.verion}</version>
369             </dependency>
370
371             <dependency>
372                 <groupId>commons-io</groupId>
373                 <artifactId>commons-io</artifactId>
374                 <version>${commons-io.version}</version>
375             </dependency>
376
377             <dependency>
378                 <groupId>org.apache.tika</groupId>
379                 <artifactId>tika-core</artifactId> <!-- 文件类型的识别 -->
380                 <version>${tika-core.version}</version>
381             </dependency>
382
383             <dependency>
384                 <groupId>org.apache.velocity</groupId>
385                 <artifactId>velocity-engine-core</artifactId>
386                 <version>${velocity.version}</version>
387             </dependency>
388
389             <dependency>
390                 <groupId>com.alibaba</groupId>
391                 <artifactId>fastjson</artifactId>
392                 <version>${fastjson.version}</version>
393             </dependency>
394
395             <dependency>
396                 <groupId>cn.smallbun.screw</groupId>
397                 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
398                 <version>${screw.version}</version>
399                 <exclusions>
400                     <exclusion>
401                         <groupId>org.freemarker</groupId>
402                         <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
403                     </exclusion>
404                     <exclusion>
405                         <groupId>com.alibaba</groupId>
406                         <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
407                     </exclusion>
408                 </exclusions>
409             </dependency>
410
411             <dependency>
412                 <groupId>com.google.guava</groupId>
413                 <artifactId>guava</artifactId>
414                 <version>${guava.version}</version>
415             </dependency>
416
417             <dependency>
418                 <groupId>com.google.inject</groupId>
419                 <artifactId>guice</artifactId>
420                 <version>${guice.version}</version>
421             </dependency>
422
423             <dependency>
424                 <groupId>com.alibaba</groupId>
425                 <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
426                 <version>${transmittable-thread-local.version}</version>
427             </dependency>
428
429             <dependency>
430                 <groupId>commons-net</groupId>
431                 <artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 -->
432                 <version>${commons-net.version}</version>
433             </dependency>
434             <dependency>
435                 <groupId>com.jcraft</groupId>
436                 <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
437                 <version>${jsch.version}</version>
438             </dependency>
439
440             <dependency>
441                 <groupId>com.xingyuv</groupId>
442                 <artifactId>spring-boot-starter-captcha-plus</artifactId>
443                 <version>${captcha-plus.version}</version>
444             </dependency>
445
446             <dependency>
447                 <groupId>org.lionsoul</groupId>
448                 <artifactId>ip2region</artifactId>
449                 <version>${ip2region.version}</version>
450             </dependency>
451
452             <dependency>
453                 <groupId>org.jsoup</groupId>
454                 <artifactId>jsoup</artifactId>
455                 <version>${jsoup.version}</version>
456             </dependency>
457
458             <dependency>
459                 <groupId>org.reflections</groupId>
460                 <artifactId>reflections</artifactId>
461                 <version>${reflections.version}</version>
462             </dependency>
463
464             <!-- 三方云服务相关 -->
465             <dependency>
466                 <groupId>com.squareup.okio</groupId>
467                 <artifactId>okio</artifactId>
468                 <version>${okio.version}</version>
469             </dependency>
470             <dependency>
471                 <groupId>com.squareup.okhttp3</groupId>
472                 <artifactId>okhttp</artifactId>
473                 <version>${okhttp3.version}</version>
474             </dependency>
475             <dependency>
476                 <groupId>io.minio</groupId>
477                 <artifactId>minio</artifactId>
478                 <version>${minio.version}</version>
479             </dependency>
480
481             <dependency>
482                 <groupId>com.github.binarywang</groupId>
483                 <artifactId>weixin-java-pay</artifactId>
484                 <version>${weixin-java.version}</version>
485             </dependency>
486             <dependency>
487                 <groupId>com.github.binarywang</groupId>
488                 <artifactId>wx-java-mp-spring-boot-starter</artifactId>
489                 <version>${weixin-java.version}</version>
490             </dependency>
491             <dependency>
492                 <groupId>com.github.binarywang</groupId>
493                 <artifactId>wx-java-miniapp-spring-boot-starter</artifactId>
494                 <version>${weixin-java.version}</version>
495             </dependency>
496
497             <dependency>
498                 <groupId>com.xingyuv</groupId>
499                 <artifactId>spring-boot-starter-justauth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
500                 <version>${justauth.version}</version>
501                 <exclusions>
502                     <exclusion>
503                         <groupId>cn.hutool</groupId>
504                         <artifactId>hutool-core</artifactId>
505                     </exclusion>
506                 </exclusions>
507             </dependency>
508
509             <dependency>
510                 <groupId>com.github.binarywang</groupId>
511                 <artifactId>wx-java-miniapp-spring-boot-starter</artifactId>
512                 <version>${weixin-java.version}</version>
513             </dependency>
514
515             <!-- SMS SDK begin -->
516             <dependency>
517                 <groupId>com.aliyun</groupId>
518                 <artifactId>aliyun-java-sdk-core</artifactId>
519                 <version>${aliyun-java-sdk-core.version}</version>
520                 <exclusions>
521                     <exclusion>
522                         <artifactId>opentracing-api</artifactId>
523                         <groupId>io.opentracing</groupId>
524                     </exclusion>
525                     <exclusion>
526                         <artifactId>opentracing-util</artifactId>
527                         <groupId>io.opentracing</groupId>
528                     </exclusion>
529                 </exclusions>
530             </dependency>
531             <dependency>
532                 <groupId>com.aliyun</groupId>
533                 <artifactId>aliyun-java-sdk-dysmsapi</artifactId>
534                 <version>${aliyun-java-sdk-dysmsapi.version}</version>
535             </dependency>
536             <dependency>
537                 <groupId>com.tencentcloudapi</groupId>
538                 <artifactId>tencentcloud-sdk-java-sms</artifactId>
539                 <version>${tencentcloud-sdk-java.version}</version>
540             </dependency>
541
542         </dependencies>
543     </dependencyManagement>
544
545     <build>
546         <!-- 设置构建的 jar 包名 -->
547         <finalName>${project.artifactId}</finalName>
548         <plugins>
549             <!-- 打包 -->
550             <plugin>
551                 <groupId>org.springframework.boot</groupId>
552                 <artifactId>spring-boot-maven-plugin</artifactId>
553                 <version>${spring.boot.version}</version>
554                 <executions>
555                     <execution>
556                         <goals>
557                             <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
558                         </goals>
559                     </execution>
560                 </executions>
561             </plugin>
562         </plugins>
563     </build>
564
565
566 </project>