-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
279 lines (272 loc) · 11.6 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<!-- 版本模板 -->
<modelVersion>4.0.0</modelVersion>
<!-- groupId和artifactId定义了仓库的位置 -->
<!-- 项目的全球唯一标识符:公司或者组织的唯一标识 -->
<groupId>com.example</groupId>
<!-- 项目的构建标识符 -->
<artifactId>demo</artifactId>
<!-- 版本号 -->
<version>0.0.1-SNAPSHOT</version>
<!-- 项目产生的构建类型 -->
<packaging>pom</packaging>
<!-- 项目名称 -->
<name>demo</name>
<!-- 项目的详细描述 -->
<description>Demo project for Spring Boot</description>
<!-- 子项目模块 -->
<modules>
<module>demo-user</module>
<module>demo-product</module>
<module>demo-order</module>
<module>demo-common</module>
<module>demo-generator</module>
<module>eureka-server</module>
<module>demo-gateway</module>
</modules>
<!-- 父项目坐标 -->
<parent>
<!-- 被继承的父项目的全球唯一标识符 -->
<groupId>org.springframework.boot</groupId>
<!-- 被继承的父项目的构建标识符 -->
<artifactId>spring-boot-starter-parent</artifactId>
<!-- 被继承的父项目版本 -->
<version>2.7.0</version>
<!-- 父项目的pom.xml文件的相对位置 -->
<relativePath/> <!-- lookup parent from repository -->
</parent>
<!-- 自定义属性 -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<skipTests>true</skipTests>
<spring-cloud.version>2021.0.3</spring-cloud.version>
<spring-cloud-alibaba.version>2021.0.1.0</spring-cloud-alibaba.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<mysql-connector.version>8.0.29</mysql-connector.version>
<mybatis-generator.version>1.4.1</mybatis-generator.version>
<mybatis.version>3.5.10</mybatis.version>
<mybatis-plus.version>3.4.2</mybatis-plus.version>
<pagehelper-starter.version>1.4.5</pagehelper-starter.version>
<pagehelper.version>5.3.2</pagehelper.version>
<druid.version>1.2.14</druid.version>
<hutool.version>5.8.9</hutool.version>
<lombok.version>1.18.24</lombok.version>
<springfox-swagger.version>3.0.0</springfox-swagger.version>
<swagger-models.version>1.6.0</swagger-models.version>
<swagger-annotations.version>1.6.0</swagger-annotations.version>
<spring-data-commons.version>2.7.5</spring-data-commons.version>
<jjwt.version>0.9.1</jjwt.version>
<json.version>1.2.83</json.version>
<redis.version>2.7.5</redis.version>
<redission.version>3.15.6</redission.version>
<logstash-logback.version>7.2</logstash-logback.version>
<minio.version>8.4.5</minio.version>
<amqp.version>2.3.9.RELEASE</amqp.version>
<jackson.version>2.11.4</jackson.version>
<jackson-jsr-version>2.13.0</jackson-jsr-version>
<demo-user.version>0.0.1-SNAPSHOT</demo-user.version>
<demo-product.version>0.0.1-SNAPSHOT</demo-product.version>
<demo-order.version>0.0.1-SNAPSHOT</demo-order.version>
<demo-common.version>0.0.1-SNAPSHOT</demo-common.version>
<demo-generator.version>0.0.1-SNAPSHOT</demo-generator.version>
</properties>
<!-- 继承自该项目的所有子项目的默认依赖信息 -->
<dependencyManagement>
<dependencies>
<!--Spring Cloud 相关依赖-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--Spring Cloud Alibaba 相关依赖-->
<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>
<!-- 通用模块 -->
<dependency>
<groupId>com.example</groupId>
<artifactId>demo-common</artifactId>
<version>${demo-common.version}</version>
</dependency>
<!-- 生成模块 -->
<dependency>
<groupId>com.example</groupId>
<artifactId>demo-generator</artifactId>
<version>${demo-generator.version}</version>
</dependency>
<!-- 用户模块 -->
<dependency>
<groupId>com.example</groupId>
<artifactId>demo-user</artifactId>
<version>${demo-user.version}</version>
</dependency>
<!-- 商品模块 -->
<dependency>
<groupId>com.example</groupId>
<artifactId>demo-product</artifactId>
<version>${demo-product.version}</version>
</dependency>
<!-- 订单模块 -->
<dependency>
<groupId>com.example</groupId>
<artifactId>demo-order</artifactId>
<version>${demo-order.version}</version>
</dependency>
<!-- Mysql数据库驱动 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector.version}</version>
</dependency>
<!-- Druid连接池 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>${druid.version}</version>
</dependency>
<!-- MyBatis -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>${mybatis.version}</version>
</dependency>
<!--Mybatis-plus-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>${mybatis-plus.version}</version>
</dependency>
<!-- MyBatis分页插件 -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<!-- MyBatis分页插件starter -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>${pagehelper-starter.version}</version>
</dependency>
<!-- MyBatis生成器 -->
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>${mybatis-generator.version}</version>
</dependency>
<!--Swagger-UI API文档生产工具 -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>${springfox-swagger.version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>${swagger-models.version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>
<!-- Hutool -->
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${hutool.version}</version>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<!-- SpringData -->
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>${spring-data-commons.version}</version>
</dependency>
<!-- Json -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${json.version}</version>
</dependency>
<!-- JWT(Json Web Token) -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>${jjwt.version}</version>
</dependency>
<!-- Logstash -->
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
<version>${logstash-logback.version}</version>
</dependency>
<!--Redis-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>${redis.version}</version>
</dependency>
<!-- Redisson -->
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<version>${redission.version}</version>
</dependency>
<!-- MinIO -->
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>${minio.version}</version>
</dependency>
<!-- Spring AMQP -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
<version>${amqp.version}</version>
</dependency>
<!-- Jackson -->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- Jackson-JSR -->
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>${jackson-jsr-version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 构建项目信息 -->
<build>
<!-- 使用插件列表 -->
<plugins>
<!-- plugin元素包含描述插件所需要的信息 -->
<plugin>
<!-- 插件在仓库里的group ID -->
<groupId>org.springframework.boot</groupId>
<!-- 插件在仓库里的artifact ID -->
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>