From 986fe293df774d6e499c40eb832c38947038a958 Mon Sep 17 00:00:00 2001 From: Rujun Chen Date: Fri, 1 Apr 2022 14:18:20 +0800 Subject: [PATCH 1/2] Update the command of install jars into local repository quickly. --- sdk/spring/README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/sdk/spring/README.md b/sdk/spring/README.md index 79d001c12473a..fcd8bbce85d14 100644 --- a/sdk/spring/README.md +++ b/sdk/spring/README.md @@ -19,23 +19,24 @@ You can use the following command to install jars into your local repository qui ```shell mvn clean install \ - -f sdk/spring/ \ + -Dcheckstyle.skip=true \ + -Dcodesnippet.skip \ + -Denforcer.skip \ + -Djacoco.skip=true \ + -Dmaven.javadoc.skip=true \ + -Drevapi.skip=true \ + -DskipTests \ + -Dspotbugs.skip=true \ -Pdev \ -T 4 \ + -ntp \ -o \ - -Dcheckstyle.skip \ - -Dcodesnippet.skip \ - -Denforcer.skip \ - -Djacoco.skip \ - -Dmaven.javadoc.skip \ - -Dmaven.test.skip \ - -Drevapi.skip \ - -Dspotbugs.skip + -f sdk/spring/pom.xml ``` If you are using PowerShell, please use the following command instead: ```shell -mvn clean install -f sdk/spring/ -Pdev -T 4 -o "-Dcheckstyle.skip" "-Dcodesnippet.skip" "-Denforcer.skip" "-Djacoco.skip" "-Dmaven.javadoc.skip" "-Dmaven.test.skip" "-Drevapi.skip" "-Dspotbugs.skip" +mvn clean install "-Dcheckstyle.skip" "-Dcodesnippet.skip" "-Denforcer.skip" "-Djacoco.skip" "-Dmaven.javadoc.skip" "-Drevapi.skip" "-DskipTests" "-Dspotbugs.skip" -Pdev -T 4 -ntp -o -f sdk/spring/pom.xml ``` From cad2c04928c25a500a15e706dd6cd5a5a5a3b045 Mon Sep 17 00:00:00 2001 From: Rujun Chen Date: Fri, 1 Apr 2022 14:30:33 +0800 Subject: [PATCH 2/2] Break line for powershell command. --- sdk/spring/README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/sdk/spring/README.md b/sdk/spring/README.md index fcd8bbce85d14..43857d093ebe2 100644 --- a/sdk/spring/README.md +++ b/sdk/spring/README.md @@ -35,8 +35,21 @@ mvn clean install \ ``` If you are using PowerShell, please use the following command instead: -```shell -mvn clean install "-Dcheckstyle.skip" "-Dcodesnippet.skip" "-Denforcer.skip" "-Djacoco.skip" "-Dmaven.javadoc.skip" "-Drevapi.skip" "-DskipTests" "-Dspotbugs.skip" -Pdev -T 4 -ntp -o -f sdk/spring/pom.xml +```powershell +mvn clean install ` + "-Dcheckstyle.skip" ` + "-Dcodesnippet.skip" ` + "-Denforcer.skip" ` + "-Djacoco.skip" ` + "-Dmaven.javadoc.skip" ` + "-Drevapi.skip" ` + "-DskipTests" ` + "-Dspotbugs.skip" ` + -Pdev ` + -T 4 ` + -ntp ` + -o ` + -f sdk/spring/pom.xml ```