org.bsc.maven.plugin.libutils
Class RollbackPomUpdateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.bsc.maven.plugin.libutils.AbstractDeployMojo
          extended by org.bsc.maven.plugin.libutils.RollbackPomUpdateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, Constants

@Mojo(name="rollback",
      requiresProject=true)
public class RollbackPomUpdateMojo
extends AbstractDeployMojo
implements Constants

Restore POM from backup

Author:
softphone

Field Summary
protected  org.apache.maven.project.MavenProject project
           
 
Fields inherited from interface org.bsc.maven.plugin.libutils.Constants
DEPENDENCIES_FILENAME, POM_BACKUP_FILENAME
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
RollbackPomUpdateMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.bsc.maven.plugin.libutils.AbstractDeployMojo
getDeployer, getLocalRepository, setDeployer, setLocalRepository
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

project

@Component
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
Specified by:
execute in class AbstractDeployMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2009-2013. All Rights Reserved.