Package org.openrewrite.maven
Class RemoveMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.openrewrite.maven.ConfigurableRewriteMojo
org.openrewrite.maven.AbstractRewriteMojo
org.openrewrite.maven.RemoveMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Remove rewrite-maven-plugin (or any other plugin) from the project.
For example:
For example:
./mvnw rewrite:remove-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.maven.AbstractRewriteMojo
AbstractRewriteMojo.ResultsContainer -
Field Summary
FieldsFields inherited from class org.openrewrite.maven.AbstractRewriteMojo
mavenSession, project, repositorySystem, runtime, settingsDecrypterFields inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
activeRecipes, activeStyles, checkstyleConfigFile, checkstyleDetectionEnabled, configLocation, failOnInvalidActiveRecipes, metricsPassword, metricsUri, metricsUsername, pomCacheDirectory, pomCacheEnabled, rewriteActiveRecipes, rewriteActiveStyles, runPerSubmodule, sizeThresholdMb, skipMavenParsingFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openrewrite.maven.AbstractRewriteMojo
environment, executionContext, getBaseDir, getRecipeClassloader, getRecipeDescriptor, listResults, logRecipesThatMadeChangesMethods inherited from class org.openrewrite.maven.ConfigurableRewriteMojo
getActiveRecipes, getActiveStyles, getExclusions, getPlainTextMasks, getRecipeArtifactCoordinatesMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
groupId
-
artifactId
-
-
Constructor Details
-
RemoveMojo
public RemoveMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-