沙钢智慧能源系统后端代码
liriming
2 天以前 cf56ebbecf2c8fc695e95c4d84949182260ee082
提交 | 用户 | 时间
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         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
88     </properties>
89
90     <dependencyManagement>
91         <dependencies>
92             <!-- 统一依赖管理 -->
3b9fcc 93             <dependency>
H 94                 <groupId>org.springframework</groupId>
95                 <artifactId>spring-framework-bom</artifactId> <!-- JDK8 版本独有:保证 Spring Framework 尽量高 -->
96                 <version>${spring.framework.version}</version>
97                 <type>pom</type>
98                 <scope>import</scope>
99             </dependency>
100             <dependency>
101                 <groupId>org.springframework.security</groupId>
102                 <artifactId>spring-security-bom</artifactId> <!-- JDK8 版本独有:保证 Spring Security 尽量高 -->
103                 <version>${spring.security.version}</version>
104                 <type>pom</type>
105                 <scope>import</scope>
106             </dependency>
97edd7 107             <dependency>
H 108                 <groupId>org.springframework.boot</groupId>
109                 <artifactId>spring-boot-dependencies</artifactId>
110                 <version>${spring.boot.version}</version>
111                 <type>pom</type>
112                 <scope>import</scope>
113             </dependency>
114             <dependency>
115                 <groupId>org.springframework.cloud</groupId>
116                 <artifactId>spring-cloud-dependencies</artifactId>
117                 <version>${spring.cloud.version}</version>
118                 <type>pom</type>
119                 <scope>import</scope>
120             </dependency>
121             <dependency>
122                 <groupId>com.alibaba.cloud</groupId>
123                 <artifactId>spring-cloud-alibaba-dependencies</artifactId>
124                 <version>${spring.cloud.alibaba.version}</version>
125                 <type>pom</type>
126                 <scope>import</scope>
127             </dependency>
128
129             <!-- 业务组件 -->
130             <dependency>
131                 <groupId>io.github.mouzt</groupId>
132                 <artifactId>bizlog-sdk</artifactId>
133                 <version>${bizlog-sdk.version}</version>
134                 <exclusions>
135                     <exclusion> <!-- 排除掉springboot依赖使用项目的 -->
136                         <groupId>org.springframework.boot</groupId>
137                         <artifactId>spring-boot-starter</artifactId>
138                     </exclusion>
139                 </exclusions>
140             </dependency>
141             <dependency>
142                 <groupId>com.iailab</groupId>
143                 <artifactId>iailab-common-biz-tenant</artifactId>
144                 <version>${revision}</version>
145             </dependency>
146             <dependency>
147                 <groupId>com.iailab</groupId>
148                 <artifactId>iailab-common-biz-data-permission</artifactId>
149                 <version>${revision}</version>
150             </dependency>
151             <dependency>
152                 <groupId>com.iailab</groupId>
153                 <artifactId>iailab-common-biz-ip</artifactId>
154                 <version>${revision}</version>
155             </dependency>
156
157             <!-- Spring 核心 -->
158             <dependency>
159                 <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
160                 <groupId>org.springframework.boot</groupId>
161                 <artifactId>spring-boot-configuration-processor</artifactId>
162                 <version>${spring.boot.version}</version>
163             </dependency>
164
165             <dependency>
166                 <groupId>com.iailab</groupId>
167                 <artifactId>iailab-common-env</artifactId>
168                 <version>${revision}</version>
169             </dependency>
170
32b235 171             <!-- 消息队列相关 -->
L 172             <dependency>
173                 <groupId>com.iailab</groupId>
174                 <artifactId>iailab-common-mq</artifactId>
175                 <version>${revision}</version>
176             </dependency>
177
178
97edd7 179             <!-- Web 相关 -->
H 180             <dependency>
181                 <groupId>com.iailab</groupId>
182                 <artifactId>iailab-common-web</artifactId>
183                 <version>${revision}</version>
184             </dependency>
185
186             <dependency>
187                 <groupId>com.iailab</groupId>
188                 <artifactId>iailab-common-security</artifactId>
189                 <version>${revision}</version>
190             </dependency>
191
192             <dependency>
193                 <groupId>com.iailab</groupId>
194                 <artifactId>iailab-common-websocket</artifactId>
195                 <version>${revision}</version>
196             </dependency>
197
198             <dependency>
199                 <groupId>org.springdoc</groupId> <!-- 接口文档 UI:默认 -->
200                 <artifactId>springdoc-openapi-ui</artifactId>
201                 <version>${springdoc.version}</version>
202             </dependency>
203             <dependency>
204                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j -->
205                 <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
206                 <version>${knife4j.version}</version>
207             </dependency>
208             <dependency>
209                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j【网关专属】 -->
210                 <artifactId>knife4j-gateway-spring-boot-starter</artifactId>
211                 <version>${knife4j.version}</version>
212             </dependency>
213
214             <!-- DB 相关 -->
215             <dependency>
216                 <groupId>com.iailab</groupId>
217                 <artifactId>iailab-common-mybatis</artifactId>
218                 <version>${revision}</version>
219             </dependency>
220             <dependency>
221                 <groupId>org.springdoc</groupId>
222                 <artifactId>springdoc-openapi-webflux-ui</artifactId>
223                 <version>${springdoc.version}</version>
224             </dependency>
225
226             <dependency>
227                 <groupId>com.alibaba</groupId>
228                 <artifactId>druid-spring-boot-starter</artifactId>
229                 <version>${druid.version}</version>
230             </dependency>
231             <dependency>
232                 <groupId>com.baomidou</groupId>
233                 <artifactId>mybatis-plus-boot-starter</artifactId>
234                 <version>${mybatis-plus.version}</version>
235             </dependency>
236             <dependency>
237                 <groupId>com.baomidou</groupId>
238                 <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
239                 <version>${mybatis-plus-generator.version}</version>
240             </dependency>
241             <dependency>
242                 <groupId>com.baomidou</groupId>
243                 <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
244                 <version>${dynamic-datasource.version}</version>
245             </dependency>
246             <dependency>
247                 <groupId>com.github.yulichang</groupId>
248                 <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
249                 <version>${mybatis-plus-join.version}</version>
250             </dependency>
251
252             <dependency>
253                 <groupId>com.iailab</groupId>
254                 <artifactId>iailab-common-redis</artifactId>
255                 <version>${revision}</version>
256             </dependency>
257
258             <dependency>
259                 <groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
260                 <artifactId>easy-trans-spring-boot-starter</artifactId>
261                 <version>${easy-trans.version}</version>
262                 <exclusions>
263                     <exclusion>
264                         <groupId>org.springframework</groupId>
265                         <artifactId>spring-context</artifactId>
266                     </exclusion>
267                     <exclusion>
268                         <groupId>org.springframework.cloud</groupId>
269                         <artifactId>spring-cloud-commons</artifactId>
270                     </exclusion>
271                 </exclusions>
272             </dependency>
273             <dependency>
274                 <groupId>com.fhs-opensource</groupId>
275                 <artifactId>easy-trans-mybatis-plus-extend</artifactId>
276                 <version>${easy-trans.version}</version>
277             </dependency>
278             <dependency>
279                 <groupId>com.fhs-opensource</groupId>
280                 <artifactId>easy-trans-anno</artifactId>
281                 <version>${easy-trans.version}</version>
282             </dependency>
283
284             <dependency>
285                 <groupId>org.redisson</groupId>
286                 <artifactId>redisson-spring-boot-starter</artifactId>
287                 <version>${redisson.version}</version>
288             </dependency>
289
290             <dependency>
291                 <groupId>com.dameng</groupId>
292                 <artifactId>DmJdbcDriver18</artifactId>
293                 <version>${dm8.jdbc.version}</version>
294             </dependency>
295
296             <!-- RPC 远程调用相关 -->
297             <dependency>
298                 <groupId>com.iailab</groupId>
299                 <artifactId>iailab-common-rpc</artifactId>
300                 <version>${revision}</version>
301             </dependency>
302
303             <dependency>
304                 <groupId>com.baomidou</groupId>
305                 <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
306                 <version>${lock4j.version}</version>
307                 <exclusions>
308                     <exclusion>
309                         <artifactId>redisson-spring-boot-starter</artifactId>
310                         <groupId>org.redisson</groupId>
311                     </exclusion>
312                 </exclusions>
313             </dependency>
314
315             <!-- 监控相关 -->
316             <dependency>
317                 <groupId>com.iailab</groupId>
318                 <artifactId>iailab-common-monitor</artifactId>
319                 <version>${revision}</version>
320             </dependency>
321
322             <!-- Test 测试相关 -->
323             <dependency>
324                 <groupId>com.iailab</groupId>
325                 <artifactId>iailab-common-test</artifactId>
326                 <version>${revision}</version>
327                 <scope>test</scope>
328             </dependency>
329
330             <!-- 工具类相关 -->
331             <dependency>
332                 <groupId>com.iailab</groupId>
333                 <artifactId>iailab-common</artifactId>
334                 <version>${revision}</version>
335             </dependency>
336
337             <dependency>
338                 <groupId>com.iailab</groupId>
339                 <artifactId>iailab-common-excel</artifactId>
340                 <version>${revision}</version>
341             </dependency>
342
343             <dependency>
32b235 344                 <groupId>com.iailab</groupId>
L 345                 <artifactId>iailab-module-model-api</artifactId>
346                 <version>${revision}</version>
347             </dependency>
348
349             <dependency>
97edd7 350                 <groupId>org.projectlombok</groupId>
H 351                 <artifactId>lombok</artifactId>
352                 <version>${lombok.version}</version>
353             </dependency>
354
355             <dependency>
356                 <groupId>org.mapstruct</groupId>
357                 <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
358                 <version>${mapstruct.version}</version>
359             </dependency>
360             <dependency>
361                 <groupId>org.mapstruct</groupId>
362                 <artifactId>mapstruct-jdk8</artifactId>
363                 <version>${mapstruct.version}</version>
364             </dependency>
365             <dependency>
366                 <groupId>org.mapstruct</groupId>
367                 <artifactId>mapstruct-processor</artifactId>
368                 <version>${mapstruct.version}</version>
369             </dependency>
370
371             <dependency>
372                 <groupId>cn.hutool</groupId>
373                 <artifactId>hutool-all</artifactId>
374                 <version>${hutool.version}</version>
375             </dependency>
376
377             <dependency>
378                 <groupId>joda-time</groupId>
379                 <artifactId>joda-time</artifactId>
380                 <version>${joda.time.version}</version>
381             </dependency>
382
383             <dependency>
384                 <groupId>com.alibaba</groupId>
385                 <artifactId>easyexcel</artifactId>
386                 <version>${easyexcel.verion}</version>
387             </dependency>
388
389             <dependency>
390                 <groupId>org.apache.tika</groupId>
391                 <artifactId>tika-core</artifactId> <!-- 文件类型的识别 -->
392                 <version>${tika-core.version}</version>
393             </dependency>
394
395             <dependency>
396                 <groupId>org.apache.velocity</groupId>
397                 <artifactId>velocity-engine-core</artifactId>
398                 <version>${velocity.version}</version>
399             </dependency>
400
401             <dependency>
402                 <groupId>com.alibaba</groupId>
403                 <artifactId>fastjson</artifactId>
404                 <version>${fastjson.version}</version>
405             </dependency>
406
407             <dependency>
408                 <groupId>cn.smallbun.screw</groupId>
409                 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
410                 <version>${screw.version}</version>
411                 <exclusions>
412                     <exclusion>
413                         <groupId>org.freemarker</groupId>
414                         <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
415                     </exclusion>
416                     <exclusion>
417                         <groupId>com.alibaba</groupId>
418                         <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
419                     </exclusion>
420                 </exclusions>
421             </dependency>
422
423             <dependency>
424                 <groupId>com.google.guava</groupId>
425                 <artifactId>guava</artifactId>
426                 <version>${guava.version}</version>
427             </dependency>
428
429             <dependency>
430                 <groupId>com.google.inject</groupId>
431                 <artifactId>guice</artifactId>
432                 <version>${guice.version}</version>
433             </dependency>
434
435             <dependency>
436                 <groupId>com.alibaba</groupId>
437                 <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
438                 <version>${transmittable-thread-local.version}</version>
439             </dependency>
440
441             <dependency>
442                 <groupId>commons-net</groupId>
443                 <artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 -->
444                 <version>${commons-net.version}</version>
445             </dependency>
446             <dependency>
447                 <groupId>com.jcraft</groupId>
448                 <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
449                 <version>${jsch.version}</version>
450             </dependency>
451
452             <dependency>
453                 <groupId>com.xingyuv</groupId>
454                 <artifactId>spring-boot-starter-captcha-plus</artifactId>
455                 <version>${captcha-plus.version}</version>
456             </dependency>
457
458             <dependency>
459                 <groupId>org.lionsoul</groupId>
460                 <artifactId>ip2region</artifactId>
461                 <version>${ip2region.version}</version>
462             </dependency>
463
464             <dependency>
465                 <groupId>org.jsoup</groupId>
466                 <artifactId>jsoup</artifactId>
467                 <version>${jsoup.version}</version>
468             </dependency>
469
470             <dependency>
471                 <groupId>org.reflections</groupId>
472                 <artifactId>reflections</artifactId>
473                 <version>${reflections.version}</version>
474             </dependency>
475
476         </dependencies>
477     </dependencyManagement>
478
479     <build>
480         <!-- 设置构建的 jar 包名 -->
481         <finalName>${project.artifactId}</finalName>
482         <plugins>
483             <!-- 打包 -->
484             <plugin>
485                 <groupId>org.springframework.boot</groupId>
486                 <artifactId>spring-boot-maven-plugin</artifactId>
487                 <version>${spring.boot.version}</version>
488                 <executions>
489                     <execution>
490                         <goals>
491                             <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
492                         </goals>
493                     </execution>
494                 </executions>
495             </plugin>
496         </plugins>
497     </build>
498
499
500 </project>