Class RemoveMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="remove", threadSafe=true) @Execute public class RemoveMojo extends AbstractRewriteMojo
Remove rewrite-maven-plugin (or any other plugin) from the project.
For example:
./mvnw rewrite:remove
  • Field Details

    • groupId

      @Parameter(property="groupId", defaultValue="org.openrewrite.maven") protected String groupId
    • artifactId

      @Parameter(property="artifactId", defaultValue="rewrite-maven-plugin") protected String 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.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException