Skip to content

Commit 0eccae8

Browse files
committed
docs: optimize
1 parent de64f11 commit 0eccae8

File tree

8 files changed

+14
-5
lines changed

8 files changed

+14
-5
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ English | [中文](README.zh_CN.md)
33
# tRPC-Java Framework
44

55
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-group/trpc-java/blob/master/LICENSE)
6-
[![Releases](https://img.shields.io/github/release/trpc.group/trpc-java.svg?style=flat-square)](https://github.com/trpc-group/trpc-java/releases)
6+
[![Releases](https://img.shields.io/github/v/release/trpc-group/trpc-java.svg?style=flat-square)](https://github.com/trpc-group/trpc-java/releases)
77
[![Docs](https://img.shields.io/badge/docs-latest-green)](https://github.com/trpc-group/trpc-java/tree/master/docs/)
88
[![Coverage](https://codecov.io/gh/trpc-group/trpc-java/graph/badge.svg?token=PCzWvpNAIk)](https://codecov.io/gh/trpc-group/trpc-java)
99

@@ -34,6 +34,8 @@ tRPC-Java has the following features:
3434

3535
JDK 1.8.0_251+, Maven 3.6.3+
3636

37+
> Please compile tRPC-Java through `mvn -Dmaven.test.skip=true clean install`. If you want to run unit tests, you need to use JDK 8.
38+
3739
### Import dependencies
3840

3941
```pom

README.zh_CN.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# tRPC-Java Framework
44

55
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-group/trpc-java/blob/master/LICENSE)
6-
[![Releases](https://img.shields.io/github/release/trpc.group/trpc-java.svg?style=flat-square)](https://github.com/trpc-group/trpc-java/releases)
6+
[![Releases](https://img.shields.io/github/v/release/trpc-group/trpc-java.svg?style=flat-square)](https://github.com/trpc-group/trpc-java/releases)
77
[![Docs](https://img.shields.io/badge/docs-latest-green)](https://github.com/trpc-group/trpc-java/tree/master/docs/)
88
[![Coverage](https://codecov.io/gh/trpc-group/trpc-java/graph/badge.svg?token=PCzWvpNAIk)](https://codecov.io/gh/trpc-group/trpc-java)
99

@@ -33,6 +33,8 @@ tRPC-Java 具有以下特点:
3333

3434
JDK 1.8.0_251+, Maven 3.6.3+
3535

36+
> 请通过 `mvn -Dmaven.test.skip=true clean install` 编译tRPC-Java。如果运行单元测试需使用JDK 8执行。
37+
3638
### 引入依赖
3739

3840
```pom

docs/en/1.quick_start.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ To install `tRPC-Java` and its dependencies locally, execute the following comma
4040
$ mvn -Dmaven.test.skip=true clean install
4141
```
4242

43+
> Please compile tRPC-Java through `mvn -Dmaven.test.skip=true clean install`. If you want to run unit tests, you need to use JDK 8.
44+
4345
#### Run the Server-Side Example Codes
4446

4547
To run the server-side example codes, you can execute the following command:

docs/zh/1.quick_start.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ trpc-demo
3838
$ mvn -Dmaven.test.skip=true clean install
3939
```
4040

41+
> 请通过 `mvn -Dmaven.test.skip=true clean install` 编译tRPC-Java。如果运行单元测试需使用JDK 8执行。
42+
4143
#### 运行服务端示例代码
4244

4345
执行以下命令运行服务端示例代码:

trpc-demo/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
<properties>
1919
<skip_maven_deploy>true</skip_maven_deploy>
20+
<trpc-maven-plugin.version>1.0.0</trpc-maven-plugin.version>
2021
</properties>
2122
<modules>
2223
<module>trpc-java-demo</module>

trpc-demo/trpc-java-demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<plugin>
6161
<groupId>com.tencent.trpc</groupId>
6262
<artifactId>trpc-maven-plugin</artifactId>
63-
<version>${project.version}</version>
63+
<version>${trpc-maven-plugin.version}</version>
6464
<executions>
6565
<execution>
6666
<goals>

trpc-demo/trpc-spring-demo/trpc-spring-client-demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<plugin>
2424
<groupId>com.tencent.trpc</groupId>
2525
<artifactId>trpc-maven-plugin</artifactId>
26-
<version>${project.version}</version>
26+
<version>${trpc-maven-plugin.version}</version>
2727
<executions>
2828
<execution>
2929
<goals>

trpc-demo/trpc-spring-demo/trpc-spring-server-demo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<plugin>
2424
<groupId>com.tencent.trpc</groupId>
2525
<artifactId>trpc-maven-plugin</artifactId>
26-
<version>${project.version}</version>
26+
<version>${trpc-maven-plugin.version}</version>
2727
<executions>
2828
<execution>
2929
<goals>

0 commit comments

Comments
 (0)