All Classes
-
Class Summary Class Description AbstractRewriteDryRunMojo Base mojo for rewrite:dryRun and rewrite:dryRunNoFork.AbstractRewriteMojo AbstractRewriteMojo.ResultsContainer AbstractRewriteRunMojo Run the configured recipes and apply the changes locally.ArtifactResolver ConfigurableRewriteMojo ConfigureMojo Configure rewrite-maven-plugin (or any other plugin) in the project.
For example:
./mvnw rewrite:configure -DactiveRecipes=org.openrewrite.java.spring.boot2.SpringBoot1To2Migration -Ddependencies=org.openrewrite.recipe:rewrite-spring:4.17.0CycloneDxBomMojo Generate a CycloneDx bill of materials outlining the project's dependencies, including transitive dependencies.HelpMojo Display help information on rewrite-maven-plugin.
Callmvn rewrite:help -Ddetail=true -Dgoal=<goal-name>to display parameter details.InitMojo Add rewrite-maven-plugin (or any other plugin) to the project.
For example:
./mvnw rewrite:init -DactiveRecipes=org.openrewrite.java.spring.boot2.SpringBoot1To2Migration -Ddependencies=org.openrewrite.recipe:rewrite-spring:4.17.0MavenLoggingMeterRegistry MavenMojoProjectParser MavenOptsHelper MeterRegistryProvider RecipeDescriptorTree Used for traversing around the collection of available RecipeDescriptors in the environment.RecipeDescriptorTreePrompter Interactive shell to select and explore available options in the environment.RemoveMojo Remove rewrite-maven-plugin (or any other plugin) from the project.
For example:
./mvnw rewrite:removeResourceParser RewriteDiscoverMojo Generate a report of available recipes found on the classpath.
./mvnw rewrite:discover -Ddetail=true -Drecipe=<recipe-name>to display recipe configuration details.RewriteDryRunMojo Generate warnings to the console for any recipe that would make changes, but do not make changes.RewriteDryRunNoForkMojo Generate warnings to the console for any recipe that would make changes, but do not make changes.RewriteRunMojo Run the configured recipes and apply the changes locally.RewriteRunNoForkMojo Run the configured recipes and apply the changes locally.