Package org.openrewrite.maven
Class RewriteDryRunMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.openrewrite.maven.ConfigurableRewriteMojo
-
- org.openrewrite.maven.AbstractRewriteMojo
-
- org.openrewrite.maven.AbstractRewriteDryRunMojo
-
- org.openrewrite.maven.RewriteDryRunMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="dryRun", requiresDependencyResolution=TEST, threadSafe=true, defaultPhase=PROCESS_TEST_CLASSES) @Execute(phase=PROCESS_TEST_CLASSES) public class RewriteDryRunMojo extends AbstractRewriteDryRunMojoGenerate warnings to the console for any recipe that would make changes, but do not make changes. This variant of rewrite:dryRun will fork the maven life cycle and can be run as a "stand-alone" goal. It will execute the maven build up to the process-test-classes phase.
-
-
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 RewriteDryRunMojo()
-
Method Summary
-
Methods inherited from class org.openrewrite.maven.AbstractRewriteDryRunMojo
execute
-
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
-
-