Skip to content

Commit 6f4deec

Browse files
committed
chore(bom): try to add bom module
1 parent 8caa7ad commit 6f4deec

File tree

19 files changed

+788
-496
lines changed

19 files changed

+788
-496
lines changed

common-actuator/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@
1616
<module>common-actuator-client</module>
1717
</modules>
1818

19+
<dependencyManagement>
20+
<dependencies>
21+
<dependency>
22+
<groupId>io.github.alice52</groupId>
23+
<artifactId>common-api-bom</artifactId>
24+
<version>${project.version}</version>
25+
<type>pom</type>
26+
<scope>import</scope>
27+
</dependency>
28+
</dependencies>
29+
</dependencyManagement>
30+
1931
<dependencies>
2032
<dependency>
2133
<groupId>org.springframework.boot</groupId>

common-api-bom/pom.xml

Lines changed: 368 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,368 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
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">
4+
<parent>
5+
<artifactId>common-api</artifactId>
6+
<groupId>io.github.alice52</groupId>
7+
<version>0.0.1</version>
8+
</parent>
9+
<modelVersion>4.0.0</modelVersion>
10+
11+
<artifactId>common-api-bom</artifactId>
12+
13+
<properties>
14+
<!-- #region ====================== common version ===================== -->
15+
16+
<!-- common -->
17+
<swagger.fox.version>2.9.2</swagger.fox.version>
18+
<swagger-bootstrap-ui.version>1.9.3</swagger-bootstrap-ui.version>
19+
<swagger2.knife4j>3.0.3</swagger2.knife4j>
20+
<swagger.starter>3.0.0</swagger.starter>
21+
<slf4j.api.version>1.7.36</slf4j.api.version>
22+
<logback.core.version>1.2.9</logback.core.version>
23+
<logback.classic.version>1.2.3</logback.classic.version>
24+
<aliyun.logback.version>0.1.18</aliyun.logback.version>
25+
<janino.version>3.1.9</janino.version>
26+
27+
<!-- tool -->
28+
<jodah.expiringmap.version>0.5.10</jodah.expiringmap.version>
29+
<lombok.version>1.18.24</lombok.version>
30+
<hutool.all.version>5.8.9</hutool.all.version>
31+
<jasypt.encrtpy.version>3.0.4</jasypt.encrtpy.version>
32+
<mapstruct.version>1.5.3.Final</mapstruct.version>
33+
<guava.version>31.1-jre</guava.version>
34+
<validation.api.version>2.0.1.Final</validation.api.version>
35+
<kaptcha.version>0.0.9</kaptcha.version>
36+
37+
<!-- spring -->
38+
<spring.boot.version>2.7.5</spring.boot.version>
39+
<actuator.admin.version>2.7.7</actuator.admin.version>
40+
<spring.cloud.version>2021.0.4</spring.cloud.version>
41+
<cloud.alibaba.version>2021.1</cloud.alibaba.version>
42+
<security.oauth.version>2.5.2.RELEASE</security.oauth.version>
43+
<feign.core.version>11.10</feign.core.version>
44+
<spring.boot.maven.version>2.2.6.RELEASE</spring.boot.maven.version>
45+
46+
<!-- jackson -->
47+
<jackson.modules>2.13.4</jackson.modules>
48+
49+
<!-- database -->
50+
<mysql.version>5.1.49</mysql.version>
51+
<druid.version>1.2.14</druid.version>
52+
<mybatis.plus.version>3.5.2</mybatis.plus.version>
53+
<mybatis.spring.boot.version>2.2.2</mybatis.spring.boot.version>
54+
<elasticsearch.version>7.17.7</elasticsearch.version>
55+
<redisson.version>3.17.7</redisson.version>
56+
57+
<!-- mq -->
58+
<rabbitmq.client.version>5.16.0</rabbitmq.client.version>
59+
60+
<!-- others -->
61+
<junit.version>4.13.2</junit.version>
62+
<jquery.version>3.3.1</jquery.version>
63+
<justauth.starter>1.4.0</justauth.starter>
64+
<grpc_version>1.50.2</grpc_version>
65+
<curator.zk.version>5.4.0</curator.zk.version>
66+
<qcloud.version>5.6.125.2</qcloud.version>
67+
<!-- #region ====================== common version ===================== -->
68+
</properties>
69+
70+
<dependencyManagement>
71+
<dependencies>
72+
<!-- colud -->
73+
<dependency>
74+
<groupId>org.springframework.cloud</groupId>
75+
<artifactId>spring-cloud-dependencies</artifactId>
76+
<version>${spring.cloud.version}</version>
77+
<type>pom</type>
78+
<scope>import</scope>
79+
</dependency>
80+
<dependency>
81+
<groupId>com.alibaba.cloud</groupId>
82+
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
83+
<version>${cloud.alibaba.version}</version>
84+
<type>pom</type>
85+
<scope>import</scope>
86+
</dependency>
87+
<dependency>
88+
<groupId>io.github.openfeign</groupId>
89+
<artifactId>feign-core</artifactId>
90+
<version>${feign.core.version}</version>
91+
</dependency>
92+
<!-- logger -->
93+
<dependency>
94+
<artifactId>slf4j-api</artifactId>
95+
<groupId>org.slf4j</groupId>
96+
<version>${slf4j.api.version}</version>
97+
</dependency>
98+
<dependency>
99+
<groupId>ch.qos.logback</groupId>
100+
<artifactId>logback-core</artifactId>
101+
<version>${logback.core.version}</version>
102+
</dependency>
103+
<dependency>
104+
<groupId>ch.qos.logback</groupId>
105+
<artifactId>logback-classic</artifactId>
106+
<version>${logback.classic.version}</version>
107+
</dependency>
108+
<dependency>
109+
<groupId>org.codehaus.janino</groupId>
110+
<artifactId>janino</artifactId>
111+
<version>${janino.version}</version>
112+
</dependency>
113+
<dependency>
114+
<groupId>com.aliyun.openservices</groupId>
115+
<artifactId>aliyun-log-logback-appender</artifactId>
116+
<version>${aliyun.logback.version}</version>
117+
</dependency>
118+
119+
<!-- tool -->
120+
<dependency>
121+
<groupId>org.projectlombok</groupId>
122+
<artifactId>lombok</artifactId>
123+
<version>${lombok.version}</version>
124+
<optional>true</optional>
125+
</dependency>
126+
<dependency>
127+
<groupId>cn.hutool</groupId>
128+
<artifactId>hutool-all</artifactId>
129+
<version>${hutool.all.version}</version>
130+
</dependency>
131+
<dependency>
132+
<groupId>com.github.ulisesbocchio</groupId>
133+
<artifactId>jasypt-spring-boot-starter</artifactId>
134+
<version>${jasypt.encrtpy.version}</version>
135+
</dependency>
136+
<dependency>
137+
<groupId>org.mapstruct</groupId>
138+
<artifactId>mapstruct</artifactId>
139+
<version>${mapstruct.version}</version>
140+
</dependency>
141+
<dependency>
142+
<groupId>javax.validation</groupId>
143+
<artifactId>validation-api</artifactId>
144+
<version>${validation.api.version}</version>
145+
</dependency>
146+
<dependency>
147+
<groupId>com.google.guava</groupId>
148+
<artifactId>guava</artifactId>
149+
<version>${guava.version}</version>
150+
</dependency>
151+
<dependency>
152+
<groupId>com.xkcoding.justauth</groupId>
153+
<artifactId>justauth-spring-boot-starter</artifactId>
154+
<version>${justauth.starter}</version>
155+
</dependency>
156+
<dependency>
157+
<groupId>net.jodah</groupId>
158+
<artifactId>expiringmap</artifactId>
159+
<version>${jodah.expiringmap.version}</version>
160+
</dependency>
161+
<!--验证码-->
162+
<dependency>
163+
<groupId>com.github.axet</groupId>
164+
<artifactId>kaptcha</artifactId>
165+
<version>${kaptcha.version}</version>
166+
</dependency>
167+
168+
<!-- jackson -->
169+
<dependency>
170+
<groupId>com.fasterxml.jackson.module</groupId>
171+
<artifactId>jackson-modules-java8</artifactId>
172+
<version>${jackson.modules}</version>
173+
<type>pom</type>
174+
<scope>import</scope>
175+
</dependency>
176+
177+
<!-- spring boot dependencies -->
178+
<dependency>
179+
<groupId>org.springframework.boot</groupId>
180+
<artifactId>spring-boot-dependencies</artifactId>
181+
<version>${spring.boot.version}</version>
182+
<type>pom</type>
183+
<scope>import</scope>
184+
</dependency>
185+
<dependency>
186+
<groupId>org.springframework.boot</groupId>
187+
<artifactId>spring-boot-starter-validation</artifactId>
188+
<version>${spring.boot.version}</version>
189+
</dependency>
190+
<dependency>
191+
<groupId>org.springframework.security.oauth</groupId>
192+
<artifactId>spring-security-oauth2</artifactId>
193+
<version>${security.oauth.version}</version>
194+
</dependency>
195+
<dependency>
196+
<groupId>de.codecentric</groupId>
197+
<artifactId>spring-boot-admin-starter-server</artifactId>
198+
<version>${actuator.admin.version}</version>
199+
</dependency>
200+
<dependency>
201+
<groupId>de.codecentric</groupId>
202+
<artifactId>spring-boot-admin-starter-client</artifactId>
203+
<version>${actuator.admin.version}</version>
204+
</dependency>
205+
<dependency>
206+
<groupId>junit</groupId>
207+
<artifactId>junit</artifactId>
208+
<version>${junit.version}</version>
209+
</dependency>
210+
211+
<!-- database -->
212+
<dependency>
213+
<groupId>mysql</groupId>
214+
<artifactId>mysql-connector-java</artifactId>
215+
<version>${mysql.version}</version>
216+
</dependency>
217+
<dependency>
218+
<groupId>com.alibaba</groupId>
219+
<artifactId>druid</artifactId>
220+
<version>${druid.version}</version>
221+
</dependency>
222+
<dependency>
223+
<groupId>com.alibaba</groupId>
224+
<artifactId>druid-spring-boot-starter</artifactId>
225+
<version>${druid.version}</version>
226+
</dependency>
227+
<dependency>
228+
<groupId>org.mybatis.spring.boot</groupId>
229+
<artifactId>mybatis-spring-boot-starter</artifactId>
230+
<version>${mybatis.spring.boot.version}</version>
231+
</dependency>
232+
<dependency>
233+
<groupId>com.baomidou</groupId>
234+
<artifactId>mybatis-plus-boot-starter</artifactId>
235+
<version>${mybatis.plus.version}</version>
236+
</dependency>
237+
<dependency>
238+
<groupId>com.baomidou</groupId>
239+
<artifactId>mybatis-plus-extension</artifactId>
240+
<version>${mybatis.plus.version}</version>
241+
</dependency>
242+
<dependency>
243+
<groupId>com.baomidou</groupId>
244+
<artifactId>mybatis-plus-annotation</artifactId>
245+
<version>${mybatis.plus.version}</version>
246+
</dependency>
247+
<dependency>
248+
<groupId>org.elasticsearch.client</groupId>
249+
<artifactId>elasticsearch-rest-high-level-client</artifactId>
250+
<version>${elasticsearch.version}</version>
251+
<exclusions>
252+
<exclusion>
253+
<groupId>org.elasticsearch.client</groupId>
254+
<artifactId>elasticsearch-rest-client</artifactId>
255+
</exclusion>
256+
<exclusion>
257+
<groupId>org.elasticsearch</groupId>
258+
<artifactId>elasticsearch</artifactId>
259+
</exclusion>
260+
</exclusions>
261+
</dependency>
262+
263+
<!-- redis -->
264+
<dependency>
265+
<groupId>org.redisson</groupId>
266+
<artifactId>redisson-spring-boot-starter</artifactId>
267+
<version>${redisson.version}</version>
268+
<exclusions>
269+
<exclusion>
270+
<groupId>org.redisson</groupId>
271+
<artifactId>redisson-spring-data-23</artifactId>
272+
</exclusion>
273+
</exclusions>
274+
</dependency>
275+
<dependency>
276+
<groupId>org.redisson</groupId>
277+
<artifactId>redisson-spring-data-21</artifactId>
278+
<version>${redisson.version}</version>
279+
</dependency>
280+
281+
<!-- swagger2 -->
282+
<dependency>
283+
<groupId>io.springfox</groupId>
284+
<artifactId>springfox-swagger-ui</artifactId>
285+
<version>${swagger.fox.version}</version>
286+
</dependency>
287+
<dependency>
288+
<groupId>io.springfox</groupId>
289+
<artifactId>springfox-swagger2</artifactId>
290+
<version>${swagger.fox.version}</version>
291+
</dependency>
292+
<dependency>
293+
<groupId>com.github.xiaoymin</groupId>
294+
<artifactId>knife4j-spring-boot-starter</artifactId>
295+
<version>${swagger2.knife4j}</version>
296+
</dependency>
297+
<!-- swagger3 -->
298+
<dependency>
299+
<groupId>io.springfox</groupId>
300+
<artifactId>springfox-boot-starter</artifactId>
301+
<version>${swagger.starter}</version>
302+
</dependency>
303+
304+
<!-- grpc -->
305+
<dependency>
306+
<groupId>io.grpc</groupId>
307+
<artifactId>grpc-bom</artifactId>
308+
<version>${grpc_version}</version>
309+
<type>pom</type>
310+
<scope>import</scope>
311+
</dependency>
312+
313+
<!-- zookeeper: curator 4.1.0 == zookeeper 3.5.x -->
314+
<!-- curator 与 zookeeper 版本对应关系:https://curator.apache.org/zk-compatibility.html -->
315+
<dependency>
316+
<groupId>org.apache.curator</groupId>
317+
<artifactId>curator-recipes</artifactId>
318+
<version>${curator.zk.version}</version>
319+
</dependency>
320+
321+
<!-- rabbitmq -->
322+
<dependency>
323+
<groupId>com.rabbitmq</groupId>
324+
<artifactId>amqp-client</artifactId>
325+
<version>${rabbitmq.client.version}</version>
326+
</dependency>
327+
328+
<dependency>
329+
<groupId>com.qcloud</groupId>
330+
<artifactId>cos_api</artifactId>
331+
<version>${qcloud.version}</version>
332+
</dependency>
333+
</dependencies>
334+
</dependencyManagement>
335+
336+
<build>
337+
<pluginManagement>
338+
<plugins>
339+
<plugin>
340+
<groupId>org.sonarsource.scanner.maven</groupId>
341+
<artifactId>sonar-maven-plugin</artifactId>
342+
<version>${sonar-maven-plugin.version}</version>
343+
</plugin>
344+
<plugin>
345+
<groupId>org.springframework.boot</groupId>
346+
<artifactId>spring-boot-maven-plugin</artifactId>
347+
<version>${spring.boot.version}</version>
348+
</plugin>
349+
<plugin>
350+
<groupId>org.apache.maven.plugins</groupId>
351+
<artifactId>maven-compiler-plugin</artifactId>
352+
<version>${maven.compiler.plugin}</version>
353+
</plugin>
354+
<plugin>
355+
<groupId>org.apache.maven.plugins</groupId>
356+
<artifactId>maven-gpg-plugin</artifactId>
357+
<version>3.0.1</version>
358+
</plugin>
359+
<plugin>
360+
<groupId>org.apache.maven.plugins</groupId>
361+
<artifactId>maven-javadoc-plugin</artifactId>
362+
<version>3.4.1</version>
363+
</plugin>
364+
</plugins>
365+
</pluginManagement>
366+
</build>
367+
368+
</project>

0 commit comments

Comments
 (0)