Package org.openrewrite.maven
Class RewriteDiscoverMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.openrewrite.maven.AbstractRewriteMojo
-
- org.openrewrite.maven.RewriteDiscoverMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="discover", threadSafe=true) public class RewriteDiscoverMojo extends AbstractRewriteMojoGenerate a report of available recipes found on the classpath.
./mvnw rewrite:discover -Ddetail=true -Drecipe=<recipe-name>to display recipe configuration details. For example:
./mvnw rewrite:discover -Ddetail=true -Drecipe=org.openrewrite.java.format.AutoFormat
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openrewrite.maven.AbstractRewriteMojo
AbstractRewriteMojo.ResultsContainer
-
-
Field Summary
-
Fields inherited from class org.openrewrite.maven.AbstractRewriteMojo
activeRecipes, activeStyles, project, suppressWarnings
-
-
Constructor Summary
Constructors Constructor Description RewriteDiscoverMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class org.openrewrite.maven.AbstractRewriteMojo
environment, executionContext, getBaseDir, getRecipeDescriptor, listJavaSources, listResults, logRecipesThatMadeChanges, parseMaven
-
-