Package org.openrewrite.maven
Class AbstractRewriteDryRunMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.openrewrite.maven.ConfigurableRewriteMojo
org.openrewrite.maven.AbstractRewriteMojo
org.openrewrite.maven.AbstractRewriteBaseRunMojo
org.openrewrite.maven.AbstractRewriteDryRunMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
RewriteDryRunMojo,RewriteDryRunNoForkMojo
Base mojo for rewrite:dryRun and rewrite:dryRunNoFork.
Generate warnings to the console for any recipe that would make changes, but do not make changes.
-
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
exportDatatablesFields inherited from class org.openrewrite.maven.AbstractRewriteMojo
project, repositorySystem, resolvePropertiesInYaml, runtime, settingsDecrypterFields inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
activeRecipes, activeStyles, checkstyleConfigFile, checkstyleDetectionEnabled, configLocation, deprecatedActiveRecipes, deprecatedActiveStyles, 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.AbstractRewriteBaseRunMojo
estimateTimeSavedSum, formatDuration, listResults, loadSourceSet, 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
-
AbstractRewriteDryRunMojo
public AbstractRewriteDryRunMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-