You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hy...@apache.org on 2021/11/26 07:52:45 UTC

[dubbo-website] branch master updated: fix command in java-specific (#996)

This is an automated email from the ASF dual-hosted git repository.

hyunkun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new fb7d31b  fix command in java-specific (#996)
fb7d31b is described below

commit fb7d31bfc0f225faf252b8951d98f0abfbfabec7
Author: Xu Song <xu...@gmail.com>
AuthorDate: Fri Nov 26 15:52:40 2021 +0800

    fix command in java-specific (#996)
---
 content/zh/docs/languages/java/java-specific.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/content/zh/docs/languages/java/java-specific.md b/content/zh/docs/languages/java/java-specific.md
index 7f776e0..b832f5c 100644
--- a/content/zh/docs/languages/java/java-specific.md
+++ b/content/zh/docs/languages/java/java-specific.md
@@ -26,7 +26,7 @@ $ cd dubbo-samples/dubbo-samples-basic
 
 1. 编译 Provider
 ```shell script
-$ mvn clean compile -Pprovider
+$ mvn clean package -Pprovider
 ```
 
 2. 运行 Provider
@@ -36,7 +36,7 @@ $ java -jar ./target/provider.jar
 
 3. 编译 Consumer
 ```shell script
-$ mvn clean compile -Pconsumer
+$ mvn clean package -Pconsumer
 ```
 
 4. 运行 consumer
@@ -104,4 +104,4 @@ public static void main(String[] args) {
     String hello = demoService.sayHello("world");
     System.out.println(hello);
 }
-```
\ No newline at end of file
+```