Class RemoveMojo

  • 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 Detail

      • groupId

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

        @Parameter(property="artifactId",
                   defaultValue="rewrite-maven-plugin")
        protected String artifactId
    • Constructor Detail

      • RemoveMojo

        public RemoveMojo()
    • Method Detail

      • 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