Package org.openrewrite.maven
Class RewriteRunNoForkMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.openrewrite.maven.ConfigurableRewriteMojo
org.openrewrite.maven.AbstractRewriteMojo
org.openrewrite.maven.AbstractRewriteBaseRunMojo
org.openrewrite.maven.AbstractRewriteRunMojo
org.openrewrite.maven.RewriteRunNoForkMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="runNoFork",
requiresDependencyResolution=TEST,
threadSafe=true,
defaultPhase=PROCESS_TEST_CLASSES)
public class RewriteRunNoForkMojo
extends AbstractRewriteRunMojo
Run the configured recipes and apply the changes locally.
This variant of rewrite:run will not fork the maven life cycle and can be used (along with other goals) without triggering repeated life-cycle events.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.maven.AbstractRewriteBaseRunMojo
AbstractRewriteBaseRunMojo.ResultsContainerNested classes/interfaces inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
ConfigurableRewriteMojo.State -
Field Summary
Fields inherited from class org.openrewrite.maven.AbstractRewriteBaseRunMojo
exportDatatables, options, recipeChangeLogLevelFields inherited from class org.openrewrite.maven.AbstractRewriteMojo
project, repositorySystem, resolvePropertiesInYaml, runtime, settingsDecrypterFields inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
activeRecipes, activeStyles, checkstyleConfigFile, checkstyleDetectionEnabled, configLocation, failOnInvalidActiveRecipes, mavenSession, metricsPassword, metricsUri, metricsUsername, pluginDescriptor, pomCacheDirectory, pomCacheEnabled, rewriteSkip, runPerSubmodule, sizeThresholdMb, skipMavenParsingFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openrewrite.maven.AbstractRewriteRunMojo
executeMethods inherited from class org.openrewrite.maven.AbstractRewriteBaseRunMojo
estimateTimeSavedSum, formatDuration, listResults, loadSourceSet, log, logRecipesThatMadeChanges, repositoryRoot, runRecipeMethods inherited from class org.openrewrite.maven.AbstractRewriteMojo
environment, environment, executionContext, getBuildRoot, getRecipeArtifactCoordinatesClassloaderMethods inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
allProjectsMarked, getActiveRecipes, getActiveStyles, getExclusions, getPlainTextMasks, getRecipeArtifactCoordinates, loadStyles, putStateMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
RewriteRunNoForkMojo
public RewriteRunNoForkMojo()
-