Skip to content

Commit 6d45863

Browse files
committed
release: 2.0.0
+ use jdk17 + use springboot3
1 parent d88ca09 commit 6d45863

File tree

2 files changed

+58
-50
lines changed

2 files changed

+58
-50
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 一、BOM 设计
2+
3+
## 1. 核心设计思路
4+
5+
### 1.1 所有第三方依赖都放在thirdparty-bom中
6+
7+
参考一些开源框架bom的设计,我们应该将所有第三方依赖的版本管理放到一个thirdparty-bom中。
8+
9+
之后无论哪个中间件引用,所有的第三方依赖版本都应该由这个thirdparty-bom来管理。
10+
11+
这样可以避免每个capa中间件在引用第三方依赖时,随意指定版本的问题。

pom.xml

Lines changed: 47 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
<groupId>group.rxcloud</groupId>
2323
<artifactId>capa-java-thirdparty-bom</artifactId>
2424
<packaging>pom</packaging>
25-
<version>1.0.1.RELEASE</version>
25+
<version>2.0.0</version>
2626
<name>capa-java-thirdparty-bom</name>
27-
<description>Capa Java ThirdParty BOM : collection of components needed for cloud appliction api.</description>
27+
<description>Capa Java ThirdParty BOM : collection of components needed for cloud application api.</description>
2828
<url>https://github.com/capa-cloud</url>
2929

3030
<licenses>
@@ -59,49 +59,48 @@
5959
</distributionManagement>
6060

6161
<properties>
62-
<java.version>8</java.version>
62+
<java.version>17</java.version>
6363
<file.encoding>UTF-8</file.encoding>
64-
<maven.version>3.8.1</maven.version>
64+
<maven.version>3.10.1</maven.version>
6565

66+
<!-- 2022.12.27 update -->
6667
<!-- log -->
67-
<slf4j.version>1.7.36</slf4j.version>
68-
<log4j.version>2.17.1</log4j.version>
69-
<logback.version>1.2.10</logback.version>
68+
<slf4j.version>2.0.6</slf4j.version>
69+
<log4j.version>2.19.0</log4j.version>
70+
<logback.version>1.4.5</logback.version>
7071
<!-- jackson -->
71-
<jackson.version>2.13.2.2</jackson.version>
72+
<jackson.version>2.14.1</jackson.version>
7273
<!-- gson -->
73-
<gson.version>2.9.0</gson.version>
74+
<gson.version>2.10</gson.version>
7475
<!-- aws sdk -->
75-
<aws-sdk.version>2.17.40</aws-sdk.version>
76+
<aws-sdk.version>2.19.4</aws-sdk.version>
7677
<!-- spring framework -->
77-
<spring-boot.version>2.3.12.RELEASE</spring-boot.version>
78+
<spring-boot.version>3.0.1</spring-boot.version>
7879
<!-- servlet -->
79-
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
80+
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
8081
<!-- netty framework -->
81-
<netty.bom.version>4.1.68.Final</netty.bom.version>
82+
<netty.bom.version>4.1.86.Final</netty.bom.version>
8283
<!-- reactor -->
83-
<reactor-core.version>3.3.22.RELEASE</reactor-core.version>
84+
<reactor-core.version>3.5.1</reactor-core.version>
8485
<!-- kotlin -->
85-
<okio.version>2.8.0</okio.version>
86-
<kotlin-stdlib.version>1.4.10</kotlin-stdlib.version>
86+
<okio.version>3.2.0</okio.version>
87+
<kotlin-stdlib.version>1.7.22</kotlin-stdlib.version>
8788
<!-- okhttp -->
88-
<okhttp.version>4.9.1</okhttp.version>
89+
<okhttp.version>4.10.0</okhttp.version>
8990
<!-- grpc -->
90-
<grpc.version>1.19.0</grpc.version>
91-
<!-- cloud-runtimes -->
92-
<cloud-runtimes.version>1.16.RELEASE</cloud-runtimes.version>
91+
<grpc.version>1.51.1</grpc.version>
9392
<!-- opentelemetry -->
94-
<open.telemetry.version>1.9.0</open.telemetry.version>
95-
<open.telemetry.version.alpha>1.9.0-alpha</open.telemetry.version.alpha>
93+
<open.telemetry.version>1.21.0</open.telemetry.version>
94+
<open.telemetry.version.alpha>1.9.1-alpha</open.telemetry.version.alpha>
9695
<!-- vavr -->
9796
<vavr.version>0.10.4</vavr.version>
9897
<!-- vrml -->
99-
<vrml.version>1.0.8</vrml.version>
98+
<vrml.version>2.0.0</vrml.version>
10099

101100
<!-- test -->
102-
<junit.version>5.3.1</junit.version>
103-
<mockito-core.version>3.6.0</mockito-core.version>
104-
<powermock.version>2.0.2</powermock.version>
101+
<junit.version>5.9.1</junit.version>
102+
<mockito-core.version>4.10.0</mockito-core.version>
103+
<powermock.version>2.0.9</powermock.version>
105104

106105
<!-- plugin -->
107106
<checkstyle.version>3.1.2</checkstyle.version>
@@ -226,22 +225,12 @@
226225
<artifactId>vavr</artifactId>
227226
<version>${vavr.version}</version>
228227
</dependency>
229-
<!-- Vrml -->
230-
<dependency>
231-
<groupId>group.rxcloud</groupId>
232-
<artifactId>vrml-core</artifactId>
233-
<version>${vrml.version}</version>
234-
</dependency>
228+
<!-- Servlet -->
235229
<dependency>
236-
<groupId>group.rxcloud</groupId>
237-
<artifactId>vrml-error</artifactId>
238-
<version>${vrml.version}</version>
239-
</dependency>
240-
<!-- Cloud-runtimes-api -->
241-
<dependency>
242-
<groupId>group.rxcloud</groupId>
243-
<artifactId>cloud-runtimes-api</artifactId>
244-
<version>${cloud-runtimes.version}</version>
230+
<groupId>javax.servlet</groupId>
231+
<artifactId>javax.servlet-api</artifactId>
232+
<version>${javax.servlet-api.version}</version>
233+
<scope>provided</scope>
245234
</dependency>
246235
<!-- Spring Boot -->
247236
<dependency>
@@ -269,12 +258,6 @@
269258
<artifactId>spring-boot-starter-web</artifactId>
270259
<version>${spring-boot.version}</version>
271260
</dependency>
272-
<dependency>
273-
<groupId>org.springframework.boot</groupId>
274-
<artifactId>spring-boot-starter-test</artifactId>
275-
<version>${spring-boot.version}</version>
276-
<scope>test</scope>
277-
</dependency>
278261
<!-- Netty framework dependencies -->
279262
<dependency>
280263
<groupId>io.netty</groupId>
@@ -283,14 +266,22 @@
283266
<type>pom</type>
284267
<scope>import</scope>
285268
</dependency>
286-
<!-- aws native s3 sdk v2 -->
269+
<!-- Aws native sdk v2 -->
287270
<dependency>
288271
<groupId>software.amazon.awssdk</groupId>
289272
<artifactId>bom</artifactId>
290273
<version>${aws-sdk.version}</version>
291274
<type>pom</type>
292275
<scope>import</scope>
293276
</dependency>
277+
<!-- Vrml -->
278+
<dependency>
279+
<groupId>group.rxcloud</groupId>
280+
<artifactId>vrml</artifactId>
281+
<version>${vrml.version}</version>
282+
<type>pom</type>
283+
<scope>import</scope>
284+
</dependency>
294285

295286
<!-- unit test -->
296287
<dependency>
@@ -311,6 +302,12 @@
311302
<version>${powermock.version}</version>
312303
<scope>test</scope>
313304
</dependency>
305+
<dependency>
306+
<groupId>org.springframework.boot</groupId>
307+
<artifactId>spring-boot-starter-test</artifactId>
308+
<version>${spring-boot.version}</version>
309+
<scope>test</scope>
310+
</dependency>
314311
</dependencies>
315312
</dependencyManagement>
316313

@@ -516,7 +513,7 @@
516513
<plugin>
517514
<groupId>org.apache.maven.plugins</groupId>
518515
<artifactId>maven-javadoc-plugin</artifactId>
519-
<version>3.2.0</version>
516+
<version>3.4.1</version>
520517
<executions>
521518
<execution>
522519
<id>attach-javadocs</id>
@@ -543,7 +540,7 @@
543540
<plugin>
544541
<groupId>org.sonatype.plugins</groupId>
545542
<artifactId>nexus-staging-maven-plugin</artifactId>
546-
<version>1.6.7</version>
543+
<version>1.6.13</version>
547544
<extensions>true</extensions>
548545
<configuration>
549546
<serverId>ossrh</serverId>

0 commit comments

Comments
 (0)