houzhongjian
2024-07-23 d9f9ba31913bb9f5053ad78109e8a3c1c00f1e6a
提交 | 用户 | 时间
e7c126 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     <parent>
6         <groupId>com.iailab</groupId>
7         <artifactId>iailab-module-infra</artifactId>
8         <version>${revision}</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>iailab-module-infra-biz</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>
16         infra 模块,主要提供两块能力:
17             1. 我们放基础设施的运维与管理,支撑上层的通用与核心业务。 例如说:定时任务的管理、服务器的信息等等
18             2. 研发工具,提升研发效率与质量。 例如说:代码生成器、接口文档等等
19     </description>
20
21     <dependencies>
22         <!-- 依赖服务 -->
23         <dependency>
24             <groupId>com.iailab</groupId>
25             <artifactId>iailab-module-system-api</artifactId>
26             <version>${revision}</version>
27         </dependency>
28         <dependency>
29             <groupId>com.iailab</groupId>
30             <artifactId>iailab-module-infra-api</artifactId>
31             <version>${revision}</version>
32         </dependency>
33
34         <!-- 业务组件 -->
35         <dependency>
36             <groupId>com.iailab</groupId>
37             <artifactId>iailab-common-biz-tenant</artifactId>
38         </dependency>
39
40         <!-- Web 相关 -->
41         <dependency>
42             <groupId>com.iailab</groupId>
43             <artifactId>iailab-common-security</artifactId>
44         </dependency>
45
46         <dependency>
47             <groupId>com.iailab</groupId>
48             <artifactId>iailab-common-websocket</artifactId>
49         </dependency>
50
51         <!-- DB 相关 -->
52         <dependency>
53             <groupId>com.iailab</groupId>
54             <artifactId>iailab-common-mybatis</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>com.baomidou</groupId>
58             <artifactId>mybatis-plus-generator</artifactId> <!-- 代码生成器,使用它解析表结构 -->
59         </dependency>
60
61         <dependency>
62             <groupId>com.iailab</groupId>
63             <artifactId>iailab-common-redis</artifactId>
64         </dependency>
65
66         <!-- RPC 远程调用相关 -->
67         <dependency>
68             <groupId>com.iailab</groupId>
69             <artifactId>iailab-common-rpc</artifactId>
70         </dependency>
71
72         <!-- Registry 注册中心相关 -->
73         <dependency>
74             <groupId>com.alibaba.cloud</groupId>
75             <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
76         </dependency>
77
78         <!-- Config 配置中心相关 -->
79         <dependency>
80             <groupId>com.alibaba.cloud</groupId>
81             <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
82         </dependency>
83
84         <!-- Job 定时任务相关 -->
85         <dependency>
86             <groupId>com.iailab</groupId>
87             <artifactId>iailab-common-job</artifactId>
88         </dependency>
89
90         <!-- 消息队列相关 -->
91         <dependency>
92             <groupId>com.iailab</groupId>
93             <artifactId>iailab-common-mq</artifactId>
94         </dependency>
95
96         <!-- Test 测试相关 -->
97         <dependency>
98             <groupId>com.iailab</groupId>
99             <artifactId>iailab-common-test</artifactId>
100             <scope>test</scope>
101         </dependency>
102
103         <!-- 工具类相关 -->
104         <dependency>
105             <groupId>com.iailab</groupId>
106             <artifactId>iailab-common-excel</artifactId>
107         </dependency>
108
109         <dependency>
110             <groupId>org.apache.velocity</groupId>
111             <artifactId>velocity-engine-core</artifactId> <!-- 实现代码生成 -->
112         </dependency>
113
114         <!-- 监控相关 -->
115         <dependency>
116             <groupId>com.iailab</groupId>
117             <artifactId>iailab-common-monitor</artifactId>
118         </dependency>
119
120         <dependency>
121             <groupId>de.codecentric</groupId>
122             <artifactId>spring-boot-admin-starter-server</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
123         </dependency>
124
125         <!-- 三方云服务相关 -->
126         <dependency>
127             <groupId>commons-net</groupId>
128             <artifactId>commons-net</artifactId> <!-- 文件客户端:解决 ftp 连接 -->
129         </dependency>
130         <dependency>
131             <groupId>com.jcraft</groupId>
132             <artifactId>jsch</artifactId> <!-- 文件客户端:解决 sftp 连接 -->
133         </dependency>
134         <dependency>
135             <groupId>io.minio</groupId>
136             <artifactId>minio</artifactId> <!-- 文件客户端:解决阿里云、腾讯云、minio 等 S3 连接 -->
137         </dependency>
138
139         <dependency>
140             <groupId>org.apache.tika</groupId>
141             <artifactId>tika-core</artifactId> <!-- 文件客户端:文件类型的识别 -->
142         </dependency>
143
144     </dependencies>
145     <build>
146         <!-- 设置构建的 jar 包名 -->
147         <finalName>${project.artifactId}</finalName>
148         <plugins>
149             <!-- 打包 -->
150             <plugin>
151                 <groupId>org.springframework.boot</groupId>
152                 <artifactId>spring-boot-maven-plugin</artifactId>
153                 <version>${spring.boot.version}</version>
154                 <executions>
155                     <execution>
156                         <goals>
157                             <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
158                         </goals>
159                     </execution>
160                 </executions>
161             </plugin>
162         </plugins>
163     </build>
164
165 </project>