Class RollbackPomUpdateMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, Constants

    @Mojo(name="rollback",
          requiresProject=true)
    public class RollbackPomUpdateMojo
    extends org.apache.maven.plugin.AbstractMojo
    implements Constants
    Restore POM from backup
    Author:
    softphone
    • Field Detail

      • project

        @Parameter(defaultValue="${project}",
                   readonly=true)
        protected org.apache.maven.project.MavenProject project
    • Constructor Detail

      • RollbackPomUpdateMojo

        public RollbackPomUpdateMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException