Package org.openrewrite.maven
Class AbstractRewriteRunMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.openrewrite.maven.ConfigurableRewriteMojo
-
- org.openrewrite.maven.AbstractRewriteMojo
-
- org.openrewrite.maven.AbstractRewriteRunMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
RewriteRunMojo,RewriteRunNoForkMojo
public class AbstractRewriteRunMojo extends AbstractRewriteMojo
Run the configured recipes and apply the changes locally. Base mojo for rewrite:run and rewrite:runNoFork.
-
-
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
mavenSession, project, repositorySystem, runtime, settingsDecrypter
-
Fields inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
checkstyleConfigFile, failOnInvalidActiveRecipes, metricsPassword, metricsUri, metricsUsername, pomCacheDirectory, pomCacheEnabled, runPerSubmodule, sizeThresholdMb, skipMavenParsing
-
-
Constructor Summary
Constructors Constructor Description AbstractRewriteRunMojo()
-
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, getRecipeClassloader, getRecipeDescriptor, listResults, logRecipesThatMadeChanges
-
Methods inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
getActiveRecipes, getActiveStyles, getExclusions, getRecipeArtifactCoordinates
-
-