-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
228 lines (222 loc) · 9.33 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ruafafa</groupId>
<artifactId>rcfun</artifactId>
<version>1.0-SNAPSHOT</version>
<name>rcfun</name>
<description>基础 pom 依赖包</description>
<!-- 子模块 -->
<modules>
<module>rcfun-common</module>
<module>rcfun-gateway</module>
<module>rcfun-utils</module>
<module>rcfun-service</module>
<module>rcfun-model</module>
<module>rcfun-test</module>
<module>rcfun-feign-api</module>
<module>rcfun-service/rcfun-user</module>
<module>rcfun-basic</module>
<module>rcfun-basic/rcfun-file-starter</module>
</modules>
<!-- 设置打包方式为 pom -->
<packaging>pom</packaging>
<!-- 属性变量设置 -->
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Spring Cloud Alibaba -->
<spring-cloud.version>2022.0.0</spring-cloud.version>
<spring-cloud-alibaba.version>2022.0.0.0</spring-cloud-alibaba.version>
<!-- openfeign -->
<openfeign.version>4.1.0</openfeign.version>
<mysql.version>8.0.28</mysql.version>
<!-- mp -->
<mybatis.plus.version>3.5.3.1</mybatis.plus.version>
<!-- mybatis-->
<mybatis.version>3.5.3</mybatis.version>
<!-- springboot -->
<boot.version>3.0.2</boot.version>
<!-- lombok -->
<lombok.version>1.18.28</lombok.version>
<!-- mapstruct-plus 实体类转换 [ref] https://www.mapstruct.plus/-->
<mapstruct-plus.version>1.3.1</mapstruct-plus.version>
<!-- fastjson2 -->
<fastjson2.version>2.0.44</fastjson2.version>
<hutool.version>5.8.24</hutool.version>
<!-- knife4j -->
<knife4j.version>4.1.0</knife4j.version>
<!-- sa-token -->
<sa-token.version>1.37.0</sa-token.version>
<!-- freemarker -->
<freemarker.version>3.1.2</freemarker.version>
<!-- mini.io -->
<minio.version>8.5.7</minio.version>
</properties>
<!-- 管理子类所有的jar包的版本,这样的目的是方便去统一升级和维护 -->
<dependencyManagement>
<dependencies>
<!-- 内部依赖 -->
<dependency>
<groupId>com.ruafafa</groupId>
<artifactId>rcfun-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ruafafa</groupId>
<artifactId>rcfun-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ruafafa</groupId>
<artifactId>rcfun-utils</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ruafafa</groupId>
<artifactId>rcfun-test</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ruafafa</groupId>
<artifactId>rcfun-feign-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.ruafafa</groupId>
<artifactId>rcfun-file-spring-boot-starter</artifactId>
<version>${project.version}</version>
</dependency>
<!-- springboot parent -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- spring cloud alibaba dependencies-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${spring-cloud-alibaba.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- mysql connector java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<!-- mp starter -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis.version}</version>
</dependency>
<!-- mapstruct-plus -->
<dependency>
<groupId>io.github.linpeilie</groupId>
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
<version>${mapstruct-plus.version}</version>
</dependency>
<!-- knife4j -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
<version>${knife4j.version}</version>
</dependency>
<!-- fastjson2 -->
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>${fastjson2.version}</version>
</dependency>
<!-- hutool -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<!-- Sa-Token 权限认证(Reactor响应式集成), 在线文档:https://sa-token.cc -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-reactor-spring-boot3-starter</artifactId>
<version>${sa-token.version}</version>
</dependency>
<!-- Sa-Token 整合 Redis (使用 jackson 序列化方式) -->
<dependency>
<groupId>cn.dev33</groupId>
<artifactId>sa-token-redis-jackson</artifactId>
<version>${sa-token.version}</version>
</dependency>
<!-- freemarker -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
<version>${freemarker.version}</version>
</dependency>
<!-- minio -->
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>${minio.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 所有的子工程都会自动加入下面的依赖 -->
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
</dependencies>
<!-- SpringBoot 工程编译打包的插件,放在父pom中就直接给所有子工程继承 -->
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${boot.version}</version>
</plugin>
<!-- mapstruct-plus build-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source> <!-- 这里根据自己的需要进行切换 -->
<target>17</target> <!-- 这里根据自己的需要进行切换 -->
<annotationProcessorPaths>
<path>
<groupId>io.github.linpeilie</groupId>
<artifactId>mapstruct-plus-processor</artifactId>
<version>${mapstruct-plus.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>