-
Notifications
You must be signed in to change notification settings - Fork 13
/
pom.xml
304 lines (284 loc) · 13.5 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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<?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>moe.ahao</groupId>
<artifactId>ahao-all</artifactId>
<version>1.0.0</version>
<name>ahao-parent</name>
<packaging>pom</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.3</version>
</parent>
<modules>
<module>ahao-btrace</module>
<module>ahao-common-utils</module>
<module>ahao-docker</module>
<module>ahao-image</module>
<module>ahao-jmh</module>
<module>ahao-mapstruct</module>
<module>ahao-mybatis-generator</module>
<module>ahao-operate-log</module>
<module>ahao-process-engine</module>
<module>ahao-sonar</module>
<module>ahao-spring-boot-actuator</module>
<module>ahao-spring-boot-admin</module>
<module>ahao-spring-boot-apollo</module>
<module>ahao-spring-boot-async</module>
<module>ahao-spring-boot-balance-datasources</module>
<module>ahao-spring-boot-cache</module>
<module>ahao-spring-boot-canal</module>
<module>ahao-spring-boot-ddd</module>
<module>ahao-spring-boot-druid</module>
<module>ahao-spring-boot-dubbo</module>
<module>ahao-spring-boot-elastic-job</module>
<module>ahao-spring-boot-elasticsearch</module>
<module>ahao-spring-boot-file-download</module>
<module>ahao-spring-boot-i18n</module>
<module>ahao-spring-boot-integration</module>
<module>ahao-spring-boot-jpa</module>
<module>ahao-spring-boot-jwt</module>
<module>ahao-spring-boot-kafka</module>
<module>ahao-spring-boot-log4j2</module>
<module>ahao-spring-boot-log-trace</module>
<module>ahao-spring-boot-mail</module>
<module>ahao-spring-boot-mongodb</module>
<module>ahao-spring-boot-mybatis-plus</module>
<module>ahao-spring-boot-mybatis-tk</module>
<module>ahao-spring-boot-okhttp3</module>
<module>ahao-spring-boot-orika</module>
<module>ahao-spring-boot-powermock</module>
<module>ahao-spring-boot-prometheus</module>
<module>ahao-spring-boot-rabbitmq</module>
<module>ahao-spring-boot-redission</module>
<module>ahao-spring-boot-rocketmq</module>
<module>ahao-spring-boot-security</module>
<module>ahao-spring-boot-sentinel</module>
<module>ahao-spring-boot-session</module>
<module>ahao-spring-boot-shiro</module>
<module>ahao-spring-boot-skywalking</module>
<module>ahao-spring-boot-statemachine</module>
<module>ahao-spring-boot-statemachine-squirrel</module>
<module>ahao-spring-boot-swagger</module>
<module>ahao-spring-boot-transaction</module>
<module>ahao-spring-boot-validator</module>
<module>ahao-spring-boot-webflux</module>
<module>ahao-spring-boot-webservice</module>
<module>ahao-spring-boot-webservice-cxf</module>
<module>ahao-spring-boot-websocket</module>
<module>ahao-spring-boot-websocket-endpoint</module>
<module>ahao-spring-boot-wechat</module>
<module>ahao-spring-boot-xxljob</module>
<module>ahao-spring-cloud-alibaba-nacos-config</module>
<module>ahao-spring-cloud-alibaba-nacos-discovery</module>
<module>ahao-spring-cloud-alibaba-oss</module>
<module>ahao-spring-cloud-alibaba-sidecar</module>
<module>ahao-spring-cloud-config</module>
<module>ahao-spring-cloud-contract</module>
<module>ahao-spring-cloud-eureka</module>
<module>ahao-spring-cloud-gateway</module>
<module>ahao-spring-cloud-netflix-hystrix</module>
<module>ahao-spring-cloud-netflix-ribbon</module>
<module>ahao-spring-cloud-openfeign</module>
<!-- <module>ahao-spring-cloud-security-oauth2</module> -->
<module>ahao-spring-cloud-sleuth</module>
<!-- <module>ahao-spring-cloud-stream</module> -->
<module>ahao-spring-cloud-zookeeper</module>
<module>ahao-spring-cloud-zuul</module>
<module>ahao-spring-unidbg-server</module>
<module>ahao-storm</module>
<module>ahao-tend-consistency</module>
<module>ahao-thrift</module>
<module>ahao-unit-test</module>
<module>ahao-web</module>
<!--<module>ahao-forum-guitar</module>-->
<!--<module>ahao-invoice</module>-->
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<java.persistence.version>2.2</java.persistence.version>
<mapstruct.version>1.4.2.Final</mapstruct.version>
<lombok.mapstruct.version>0.2.0</lombok.mapstruct.version>
<ahao.version>1.0.0</ahao.version>
<spring.boot.version>2.6.3</spring.boot.version>
<spring.boot.admin.version>2.2.1</spring.boot.admin.version>
<spring.cloud.version>2021.0.1</spring.cloud.version>
<spring.cloud.alibaba.version>2021.0.1.0</spring.cloud.alibaba.version>
<spring.swagger.version>3.0.0</spring.swagger.version>
<spring.swagger.bootstrap.version>1.9.6</spring.swagger.bootstrap.version>
<spring.dubbo.version>2.7.16</spring.dubbo.version>
<apache.commons.beanutils.version>1.9.4</apache.commons.beanutils.version>
<apache.commons.collections4.version>4.4</apache.commons.collections4.version>
<apache.commons.io.version>2.6</apache.commons.io.version>
<apache.commons.poi.version>3.17</apache.commons.poi.version>
<apache.commons.text.version>1.8</apache.commons.text.version>
<alibaba.druid.version>1.1.21</alibaba.druid.version>
<alibaba.easyexcel.version>3.0.5</alibaba.easyexcel.version><!-- TODO easyexcel 依赖 poi 3.17-->
<alibaba.fastjson.version>1.2.62</alibaba.fastjson.version> <!-- TODO fastjson 太多 bug 了 -->
<alibaba.transmittable-thread-local.version>2.11.4</alibaba.transmittable-thread-local.version>
<google.guava.version>29.0-jre</google.guava.version>
<google.protobuf.version>2.5.0</google.protobuf.version>
<mybatis.version>3.5.2</mybatis.version>
<mybatis.generator.version>1.4.0</mybatis.generator.version>
<mybatis.spring.boot.version>2.1.1</mybatis.spring.boot.version>
<mybatis.plus.version>3.4.1</mybatis.plus.version>
<xxl.job.version>2.3.0</xxl.job.version>
<redission.version>3.15.5</redission.version>
<embedded.redis.version>0.6</embedded.redis.version>
</properties>
<repositories>
<repository>
<id>aliyun-repo</id>
<name>阿里云 Maven</name>
<url>https://maven.aliyun.com/nexus/content/repositories/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>center-repo</id>
<name>中央 Maven</name>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<!--======================================================= 自定义模块 =======================================================-->
<dependency>
<groupId>moe.ahao</groupId>
<artifactId>ahao-common-utils</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>moe.ahao</groupId>
<artifactId>ahao-common-utils</artifactId>
<version>1.0.0</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<!--======================================================= 自定义模块 =======================================================-->
<!--======================================================= Spring =======================================================-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-dependencies</artifactId>
<version>2.2.1</version>
<type>pom</type>
</dependency>
<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>
<!--======================================================= Spring Boot =======================================================-->
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>${redission.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!--======================================================= Spring Boot =======================================================-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<!--======================================================= Spring Boot =======================================================-->
<!--======================================================= 单元测试 =======================================================-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<!--======================================================= 单元测试 =======================================================-->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
<!-- 这里是填写需要包含进去的jar -->
<!-- 比如项目中的某些模块,会经常变动,那么就应该将其坐标写进来 -->
<!-- 如果没有则nothing ,表示不打包依赖 -->
<includes>
<include>
<groupId>nothing</groupId>
<artifactId>nothing</artifactId>
</include>
</includes>
</configuration>
</plugin>
<!-- 拷贝依赖到jar外面的lib目录 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<!--指定的依赖路径-->
<outputDirectory>
${project.build.directory}/lib
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>