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