This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository
https://gitbox.apache.org/repos/asf/incubator-streampark-website.git
The following commit(s) were added to refs/heads/dev by this push:
new f2b3cebc [Improve] release docs improvement (#334)
f2b3cebc is described below
commit f2b3cebc4a188edf51addb0c4660454814ab6f34
Author: benjobs <[email protected]>
AuthorDate: Tue Mar 5 11:39:32 2024 +0800
[Improve] release docs improvement (#334)
Co-authored-by: benjobs <[email protected]>
---
community/release/How-to-release.md | 27 ++++++++--------------
.../current/release/How-to-release.md | 27 ++++++++--------------
2 files changed, 18 insertions(+), 36 deletions(-)
diff --git a/community/release/How-to-release.md
b/community/release/How-to-release.md
index 4c6394a5..96d5ead9 100644
--- a/community/release/How-to-release.md
+++ b/community/release/How-to-release.md
@@ -250,11 +250,11 @@ git clone -b release-2.1.0-rc1 -c core.autocrlf=false
[email protected]:apache/incu
```shell
mvn clean install \
--Pscala-2.11,shaded \
+-Pscala-2.11 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
--pl 'streampark-common,streampark-flink,streampark-shaded' \
+-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
@@ -271,11 +271,11 @@ mvn deploy \
```shell
mvn clean install \
--Pscala-2.12,shaded \
+-Pscala-2.12 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
--pl 'streampark-common,streampark-flink,streampark-shaded' \
+-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
@@ -288,15 +288,6 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
-##### 3.3.3 Release shaded to the Apache Nexus repository
-
-```shell
-mvn clean install \
--DskipTests \
--Dcheckstyle.skip=true \
--Dmaven.javadoc.skip=true
-```
-
```shell
mvn deploy \
-Papache-release \
@@ -305,9 +296,9 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
-##### 3.3.4 Check for successful publishing to the Apache Nexus repository
+##### 3.3.3 Check for successful publishing to the Apache Nexus repository
-> Visit https://repository.apache.org/ and log in, if there are scala 2.11,
scala 2.12, shaded packages, it means success.
+> Visit https://repository.apache.org/ and log in, if there are scala 2.11,
scala 2.12, it means success.

@@ -316,13 +307,13 @@ mvn deploy \
> Scala 2.11 compilation and packaging
```shell
-mvn -Pscala-2.11,shaded,webapp,dist -DskipTests clean install
+> ./build.sh # choose "mixed mode" and "scala 2.11"
```
> Scala 2.12 compilation and packaging
```shell
-mvn -Pscala-2.12,shaded,webapp,dist -DskipTests clean install
+> ./build.sh # choose "mixed mode" and "scala 2.12"
```
> Package the project source code
@@ -767,4 +758,4 @@ Best,
ChunJin Mu
```
-This version release is over.
\ No newline at end of file
+This version release is over.
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/release/How-to-release.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/release/How-to-release.md
index b399b4c6..d22b9780 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/release/How-to-release.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/release/How-to-release.md
@@ -250,11 +250,11 @@ git clone -b release-2.1.0-rc1 -c core.autocrlf=false
[email protected]:apache/incu
```shell
mvn clean install \
--Pscala-2.11,shaded \
+-Pscala-2.11 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
--pl 'streampark-common,streampark-flink,streampark-shaded' \
+-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
@@ -271,11 +271,11 @@ mvn deploy \
```shell
mvn clean install \
--Pscala-2.12,shaded \
+-Pscala-2.12 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
--pl 'streampark-common,streampark-flink,streampark-shaded' \
+-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
@@ -288,15 +288,6 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
-##### 3.3.3 发布shaded到Apache Nexus仓库
-
-```shell
-mvn clean install \
--DskipTests \
--Dcheckstyle.skip=true \
--Dmaven.javadoc.skip=true
-```
-
```shell
mvn deploy \
-Papache-release \
@@ -305,9 +296,9 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
-##### 3.3.4 检查是否成功发布到Apache Nexus仓库
+##### 3.3.3 检查是否成功发布到Apache Nexus仓库
-> 访问 https://repository.apache.org/ 并登录,如果有scala 2.11、scala
2.12、shaded包,说明发布成功。
+> 访问 https://repository.apache.org/ 并登录,如果有scala 2.11、scala 2.12,说明发布成功。

@@ -316,13 +307,13 @@ mvn deploy \
> Scala 2.11 编译打包
```shell
-mvn -Pscala-2.11,shaded,webapp,dist -DskipTests clean install
+> ./build.sh # 选择 "mixed mode" 和 "scala 2.11"
```
> Scala 2.12 编译打包
```shell
-mvn -Pscala-2.12,shaded,webapp,dist -DskipTests clean install
+> ./build.sh # 选择 "mixed mode" 和 "scala 2.12"
```
> 打包项目源码
@@ -773,4 +764,4 @@ Best,
ChunJin Mu
```
-该版本的发布顺利结束。
\ No newline at end of file
+该版本的发布顺利结束。