Skip to content

Commit ba33050

Browse files
author
kaiqianyang
committed
fix cmd in readme
1 parent 20d228a commit ba33050

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Azure-spring-rewrite is released as a GitHub Maven package. To use it, you need
6868

6969
For maven projects, you can run maven command line under your application path:
7070
```cmd
71-
./mvnw -U -Pgithub org.openrewrite.maven:rewrite-maven-plugin:run "-Drewrite.activeRecipes=com.azure.spring.migration.UpgradeToAzureSpringApps, com.azure.spring.migration.UpgradeSpringboot_2_7_SpringCloud_2021" "-Drewrite.recipeArtifactCoordinates=com.azure.spring.migration:azure-spring-rewrite:LATEST"
71+
./mvnw -U -Pgithub org.openrewrite.maven:rewrite-maven-plugin:run "-Drewrite.activeRecipes=com.azure.spring.migration.UpgradeToAzureSpringApps,com.azure.spring.migration.UpgradeSpringboot_2_7_SpringCloud_2021" "-Drewrite.recipeArtifactCoordinates=com.azure.spring.migration:azure-spring-rewrite:LATEST"
7272
```
7373

7474
For gradle projects, you need to configure rewrite-gradle-plugin:
@@ -101,3 +101,4 @@ Azure-spring-rewrite is released as a GitHub Maven package. To use it, you need
101101

102102
You can **configure the recipes you want to apply to your application** by modifying the value of `-Drewrite.activeRecipes` in the Maven command line or `activeRecipe` in the Gradle file.
103103
You can add one or all of the defined recipes `com.azure.spring.migration.UpgradeToAzureSpringApps` and `com.azure.spring.migration.UpgradeSpringboot_2_7_SpringCloud_2021`, or add official OpenRewrite recipes, such as `org.openrewrite.java.migrate.UpgradeToJava17` ([reference page](https://docs.openrewrite.org/reference/recipes/java/migrate/upgradetojava17)).
104+
For more details, refer to [rewrite Maven plugin configuration](https://docs.openrewrite.org/reference/rewrite-maven-plugin#plugin-configuration), [rewrite Gradle plugin configuration](https://docs.openrewrite.org/reference/gradle-plugin-configuration).

0 commit comments

Comments
 (0)