You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/08/07 02:35:42 UTC
[dubbo] branch 3.0 updated: Update version and remove '#' in command. (#10411)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 4b55862f86 Update version and remove '#' in command. (#10411)
4b55862f86 is described below
commit 4b55862f86fb410e99bbed4b279db69e2a63e2ab
Author: Andy Cheung <wi...@users.noreply.github.com>
AuthorDate: Sun Aug 7 10:35:37 2022 +0800
Update version and remove '#' in command. (#10411)
---
README.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index bf8a639d4f..1ef84dcdf6 100644
--- a/README.md
+++ b/README.md
@@ -32,8 +32,8 @@ We are now collecting Dubbo user info to help us to improve Dubbo further. Kindl
The following code snippet comes from [Dubbo Samples](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-api). You may clone the sample project and step into the `dubbo-samples-api` subdirectory before proceeding.
```bash
-# git clone https://github.com/apache/dubbo-samples.git
-# cd dubbo-samples/dubbo-samples-api
+git clone https://github.com/apache/dubbo-samples.git
+cd dubbo-samples/dubbo-samples-api
```
There's a [README](https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-api/README.md) file under `dubbo-samples-api` directory. We recommend referencing the samples in that directory by following the below-mentioned instructions:
@@ -42,7 +42,7 @@ There's a [README](https://github.com/apache/dubbo-samples/tree/master/dubbo-sam
```xml
<properties>
- <dubbo.version>3.0.8</dubbo.version>
+ <dubbo.version>3.0.10</dubbo.version>
</properties>
<dependencies>
@@ -124,8 +124,8 @@ public class Application {
### Build and run the provider
```bash
-# mvn clean package
-# mvn -Djava.net.preferIPv4Stack=true -Dexec.mainClass=org.apache.dubbo.samples.provider.Application exec:java
+mvn clean package
+mvn -Djava.net.preferIPv4Stack=true -Dexec.mainClass=org.apache.dubbo.samples.provider.Application exec:java
```
### Call remote service in the consumer
@@ -158,8 +158,8 @@ public class Application {
### Build and run the consumer
```bash
-# mvn clean package
-# mvn -Djava.net.preferIPv4Stack=true -Dexec.mainClass=org.apache.dubbo.samples.client.Application exec:java
+mvn clean package
+mvn -Djava.net.preferIPv4Stack=true -Dexec.mainClass=org.apache.dubbo.samples.client.Application exec:java
```
The consumer will print out `hi, dubbo` on the screen.