Uses of Class
org.openrewrite.maven.AbstractRewriteMojo
Packages that use AbstractRewriteMojo
-
Uses of AbstractRewriteMojo in org.openrewrite.maven
Subclasses of AbstractRewriteMojo in org.openrewrite.mavenModifier and TypeClassDescriptionclassBase mojo for rewrite:dryRun and rewrite:dryRunNoFork.classRun the configured recipes and apply the changes locally.classConfigure 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.0classGenerate a CycloneDx bill of materials outlining the project's dependencies, including transitive dependencies.classAdd 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.0classRemove rewrite-maven-plugin (or any other plugin) from the project.
For example:
./mvnw rewrite:removeclassGenerate a report of available recipes found on the classpath.
./mvnw rewrite:discover -Ddetail=true -Drecipe=<recipe-name>to display recipe configuration details.classGenerate warnings to the console for any recipe that would make changes, but do not make changes.classGenerate warnings to the console for any recipe that would make changes, but do not make changes.classRun the configured recipes and apply the changes locally.classRun the configured recipes and apply the changes locally.