org.liquibase.maven.plugins
Class LiquibaseMigrate

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.liquibase.maven.plugins.AbstractLiquibaseMojo
          extended by org.liquibase.maven.plugins.AbstractLiquibaseChangeLogMojo
              extended by org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo
                  extended by org.liquibase.maven.plugins.LiquibaseMigrate
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

Deprecated. Use the LiquibaseUpdate class or Maven goal "update" instead.

public class LiquibaseMigrate
extends AbstractLiquibaseUpdateMojo

Liquibase Migration Maven plugin. This plugin allows for DatabaseChangeLogs to be applied to a database as part of a Maven build process.

Author:
Peter Murray

Field Summary
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo
changesToApply
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseChangeLogMojo
changeLogFile, contexts
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
clearCheckSums, databaseClass, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, skip, systemProperties, url, username, verbose, wagonManager
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LiquibaseMigrate()
          Deprecated.  
 
Method Summary
 void configureFieldsAndValues(ResourceAccessor fo)
          Deprecated.  
protected  void doUpdate(Liquibase liquibase)
          Deprecated. Performs the actual "update" work on the database.
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseUpdateMojo
performLiquibaseTask, printSettings
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseChangeLogMojo
checkRequiredParametersAreSpecified, createLiquibase, getFileOpener
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
cleanup, execute, getLiquibase, getMavenArtifactClassLoader, isPromptOnNonLocalDatabase, parsePropertiesFile
 
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
 

Constructor Detail

LiquibaseMigrate

public LiquibaseMigrate()
Deprecated. 
Method Detail

configureFieldsAndValues

public void configureFieldsAndValues(ResourceAccessor fo)
                              throws org.apache.maven.plugin.MojoExecutionException,
                                     org.apache.maven.plugin.MojoFailureException
Deprecated. 
Overrides:
configureFieldsAndValues in class AbstractLiquibaseMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

doUpdate

protected void doUpdate(Liquibase liquibase)
                 throws LiquibaseException
Deprecated. 
Description copied from class: AbstractLiquibaseUpdateMojo
Performs the actual "update" work on the database.

Specified by:
doUpdate in class AbstractLiquibaseUpdateMojo
Parameters:
liquibase - The Liquibase object to use to perform the "update".
Throws:
LiquibaseException


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.