选煤厂生产管理平台后台代码
Jay
6 天以前 8d3ff63ab144ad6b48015b01196bc901944a48f9
提交 | 用户 | 时间
f968b4 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>iailab-xmc-pms</artifactId>
8     <version>${revision}</version>
9     <packaging>pom</packaging>
10     <description>
11         快速开发框架,默认基础system,data,model
12     </description>
13     <modules>
14 <!--        <module>iailab-xmc-pms-api</module>-->
15         <module>iailab-xmc-pms-biz</module>
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         <!-- 统一依赖管理 -->
c3a591 29         <spring.framework.version>5.3.39</spring.framework.version>
H 30         <spring.security.version>5.8.14</spring.security.version>
f968b4 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             <!-- 统一依赖管理 -->
c3a591 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>
f968b4 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
171             <!-- Web 相关 -->
172             <dependency>
173                 <groupId>com.iailab</groupId>
174                 <artifactId>iailab-common-web</artifactId>
175                 <version>${revision}</version>
176             </dependency>
177
178             <dependency>
179                 <groupId>com.iailab</groupId>
180                 <artifactId>iailab-common-security</artifactId>
181                 <version>${revision}</version>
182             </dependency>
183
184             <dependency>
185                 <groupId>com.iailab</groupId>
186                 <artifactId>iailab-common-websocket</artifactId>
187                 <version>${revision}</version>
188             </dependency>
189
190             <dependency>
191                 <groupId>org.springdoc</groupId> <!-- 接口文档 UI:默认 -->
192                 <artifactId>springdoc-openapi-ui</artifactId>
193                 <version>${springdoc.version}</version>
194             </dependency>
195             <dependency>
196                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j -->
197                 <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
198                 <version>${knife4j.version}</version>
199             </dependency>
200             <dependency>
201                 <groupId>com.github.xiaoymin</groupId> <!-- 接口文档 UI:knife4j【网关专属】 -->
202                 <artifactId>knife4j-gateway-spring-boot-starter</artifactId>
203                 <version>${knife4j.version}</version>
204             </dependency>
205
206             <!-- DB 相关 -->
207             <dependency>
208                 <groupId>com.iailab</groupId>
209                 <artifactId>iailab-common-mybatis</artifactId>
210                 <version>${revision}</version>
211             </dependency>
212             <dependency>
213                 <groupId>org.springdoc</groupId>
214                 <artifactId>springdoc-openapi-webflux-ui</artifactId>
215                 <version>${springdoc.version}</version>
216             </dependency>
217
218             <dependency>
219                 <groupId>com.alibaba</groupId>
220                 <artifactId>druid-spring-boot-starter</artifactId>
221                 <version>${druid.version}</version>
222             </dependency>
223             <dependency>
224                 <groupId>com.baomidou</groupId>
225                 <artifactId>mybatis-plus-boot-starter</artifactId>
226                 <version>${mybatis-plus.version}</version>
227             </dependency>
228             <dependency>
229                 <groupId>com.baomidou</groupId>
230                 <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
231                 <version>${mybatis-plus-generator.version}</version>
232             </dependency>
233             <dependency>
234                 <groupId>com.baomidou</groupId>
235                 <artifactId>dynamic-datasource-spring-boot-starter</artifactId> <!-- 多数据源 -->
236                 <version>${dynamic-datasource.version}</version>
237             </dependency>
238             <dependency>
239                 <groupId>com.github.yulichang</groupId>
240                 <artifactId>mybatis-plus-join-boot-starter</artifactId> <!-- MyBatis 联表查询 -->
241                 <version>${mybatis-plus-join.version}</version>
242             </dependency>
243
244             <dependency>
245                 <groupId>com.iailab</groupId>
246                 <artifactId>iailab-common-redis</artifactId>
247                 <version>${revision}</version>
248             </dependency>
249
250             <dependency>
251                 <groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
252                 <artifactId>easy-trans-spring-boot-starter</artifactId>
253                 <version>${easy-trans.version}</version>
254                 <exclusions>
255                     <exclusion>
256                         <groupId>org.springframework</groupId>
257                         <artifactId>spring-context</artifactId>
258                     </exclusion>
259                     <exclusion>
260                         <groupId>org.springframework.cloud</groupId>
261                         <artifactId>spring-cloud-commons</artifactId>
262                     </exclusion>
263                 </exclusions>
264             </dependency>
265             <dependency>
266                 <groupId>com.fhs-opensource</groupId>
267                 <artifactId>easy-trans-mybatis-plus-extend</artifactId>
268                 <version>${easy-trans.version}</version>
269             </dependency>
270             <dependency>
271                 <groupId>com.fhs-opensource</groupId>
272                 <artifactId>easy-trans-anno</artifactId>
273                 <version>${easy-trans.version}</version>
274             </dependency>
275
276             <dependency>
277                 <groupId>org.redisson</groupId>
278                 <artifactId>redisson-spring-boot-starter</artifactId>
279                 <version>${redisson.version}</version>
280             </dependency>
281
282             <dependency>
283                 <groupId>com.dameng</groupId>
284                 <artifactId>DmJdbcDriver18</artifactId>
285                 <version>${dm8.jdbc.version}</version>
286             </dependency>
287
288             <!-- RPC 远程调用相关 -->
289             <dependency>
290                 <groupId>com.iailab</groupId>
291                 <artifactId>iailab-common-rpc</artifactId>
292                 <version>${revision}</version>
293             </dependency>
294
295             <dependency>
296                 <groupId>com.baomidou</groupId>
297                 <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
298                 <version>${lock4j.version}</version>
299                 <exclusions>
300                     <exclusion>
301                         <artifactId>redisson-spring-boot-starter</artifactId>
302                         <groupId>org.redisson</groupId>
303                     </exclusion>
304                 </exclusions>
305             </dependency>
306
307             <!-- 监控相关 -->
308             <dependency>
309                 <groupId>com.iailab</groupId>
310                 <artifactId>iailab-common-monitor</artifactId>
311                 <version>${revision}</version>
312             </dependency>
313
314             <!-- Test 测试相关 -->
315             <dependency>
316                 <groupId>com.iailab</groupId>
317                 <artifactId>iailab-common-test</artifactId>
318                 <version>${revision}</version>
319                 <scope>test</scope>
320             </dependency>
321
322             <!-- 工具类相关 -->
323             <dependency>
324                 <groupId>com.iailab</groupId>
325                 <artifactId>iailab-common</artifactId>
326                 <version>${revision}</version>
327             </dependency>
328
329             <dependency>
330                 <groupId>com.iailab</groupId>
331                 <artifactId>iailab-common-excel</artifactId>
332                 <version>${revision}</version>
333             </dependency>
334
335             <dependency>
336                 <groupId>org.projectlombok</groupId>
337                 <artifactId>lombok</artifactId>
338                 <version>${lombok.version}</version>
339             </dependency>
340
341             <dependency>
342                 <groupId>org.mapstruct</groupId>
343                 <artifactId>mapstruct</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
344                 <version>${mapstruct.version}</version>
345             </dependency>
346             <dependency>
347                 <groupId>org.mapstruct</groupId>
348                 <artifactId>mapstruct-jdk8</artifactId>
349                 <version>${mapstruct.version}</version>
350             </dependency>
351             <dependency>
352                 <groupId>org.mapstruct</groupId>
353                 <artifactId>mapstruct-processor</artifactId>
354                 <version>${mapstruct.version}</version>
355             </dependency>
356
357             <dependency>
358                 <groupId>cn.hutool</groupId>
359                 <artifactId>hutool-all</artifactId>
360                 <version>${hutool.version}</version>
361             </dependency>
362
363             <dependency>
364                 <groupId>joda-time</groupId>
365                 <artifactId>joda-time</artifactId>
366                 <version>${joda.time.version}</version>
367             </dependency>
368
369             <dependency>
370                 <groupId>com.alibaba</groupId>
371                 <artifactId>easyexcel</artifactId>
372                 <version>${easyexcel.verion}</version>
373             </dependency>
374
375             <dependency>
376                 <groupId>org.apache.tika</groupId>
377                 <artifactId>tika-core</artifactId> <!-- 文件类型的识别 -->
378                 <version>${tika-core.version}</version>
379             </dependency>
380
381             <dependency>
382                 <groupId>org.apache.velocity</groupId>
383                 <artifactId>velocity-engine-core</artifactId>
384                 <version>${velocity.version}</version>
385             </dependency>
386
387             <dependency>
388                 <groupId>com.alibaba</groupId>
389                 <artifactId>fastjson</artifactId>
390                 <version>${fastjson.version}</version>
391             </dependency>
392
393             <dependency>
394                 <groupId>cn.smallbun.screw</groupId>
395                 <artifactId>screw-core</artifactId> <!-- 实现数据库文档 -->
396                 <version>${screw.version}</version>
397                 <exclusions>
398                     <exclusion>
399                         <groupId>org.freemarker</groupId>
400                         <artifactId>freemarker</artifactId> <!-- 移除 Freemarker 依赖,采用 Velocity 作为模板引擎 -->
401                     </exclusion>
402                     <exclusion>
403                         <groupId>com.alibaba</groupId>
404                         <artifactId>fastjson</artifactId> <!-- 最新版screw-core1.0.5依赖fastjson1.2.73存在漏洞,移除。 -->
405                     </exclusion>
406                 </exclusions>
407             </dependency>
408
409             <dependency>
410                 <groupId>com.google.guava</groupId>
411                 <artifactId>guava</artifactId>
412                 <version>${guava.version}</version>
413             </dependency>
414
415             <dependency>
416                 <groupId>com.google.inject</groupId>
417                 <artifactId>guice</artifactId>
418                 <version>${guice.version}</version>
419             </dependency>
420
421             <dependency>
422                 <groupId>com.alibaba</groupId>
423                 <artifactId>transmittable-thread-local</artifactId> <!-- 解决 ThreadLocal 父子线程的传值问题 -->
424                 <version>${transmittable-thread-local.version}</version>
425             </dependency>
426
427             <dependency>
428                 <groupId>commons-net</groupId>
429                 <artifactId>commons-net</artifactId> <!-- 解决 ftp 连接 -->
430                 <version>${commons-net.version}</version>
431             </dependency>
432             <dependency>
433                 <groupId>com.jcraft</groupId>
434                 <artifactId>jsch</artifactId> <!-- 解决 sftp 连接 -->
435                 <version>${jsch.version}</version>
436             </dependency>
437
438             <dependency>
439                 <groupId>com.xingyuv</groupId>
440                 <artifactId>spring-boot-starter-captcha-plus</artifactId>
441                 <version>${captcha-plus.version}</version>
442             </dependency>
443
444             <dependency>
445                 <groupId>org.lionsoul</groupId>
446                 <artifactId>ip2region</artifactId>
447                 <version>${ip2region.version}</version>
448             </dependency>
449
450             <dependency>
451                 <groupId>org.jsoup</groupId>
452                 <artifactId>jsoup</artifactId>
453                 <version>${jsoup.version}</version>
454             </dependency>
455
456         </dependencies>
457     </dependencyManagement>
458
459     <build>
460         <!-- 设置构建的 jar 包名 -->
461         <finalName>${project.artifactId}</finalName>
462         <plugins>
463             <!-- 打包 -->
464             <plugin>
465                 <groupId>org.springframework.boot</groupId>
466                 <artifactId>spring-boot-maven-plugin</artifactId>
467                 <version>${spring.boot.version}</version>
468                 <executions>
469                     <execution>
470                         <goals>
471                             <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
472                         </goals>
473                     </execution>
474                 </executions>
475             </plugin>
476         </plugins>
477     </build>
478
479
480 </project>