LiquibaseUpdateSQL
or Maven goal "updateSQL" instead.public class LiquibaseMigrateSQL extends AbstractLiquibaseUpdateMojo
Modifier and Type | Field and Description |
---|---|
protected File |
migrationSqlOutputFile
Deprecated.
The file to output the Migration SQL script to, if it exists it will be overwritten.
|
changesToApply, toTag
changeLogFile, contexts, labels
changelogCatalogName, changelogSchemaName, clearCheckSums, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, skip, systemProperties, url, username, verbose, wagonManager
Constructor and Description |
---|
LiquibaseMigrateSQL()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(Database db)
Deprecated.
|
void |
configureFieldsAndValues(ResourceAccessor fo)
Deprecated.
|
protected Liquibase |
createLiquibase(ResourceAccessor fo,
Database db)
Deprecated.
|
protected void |
doUpdate(Liquibase liquibase)
Deprecated.
Performs the actual "update" work on the database.
|
protected boolean |
isPromptOnNonLocalDatabase()
Deprecated.
|
protected void |
printSettings(String indent)
Deprecated.
Prints the settings that have been set of defaulted for the plugin.
|
performLiquibaseTask
checkRequiredParametersAreSpecified, getFileOpener
execute, getClassLoaderIncludingProjectClasspath, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, parsePropertiesFile
protected File migrationSqlOutputFile
public void configureFieldsAndValues(ResourceAccessor fo) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
configureFieldsAndValues
in class AbstractLiquibaseMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected boolean isPromptOnNonLocalDatabase()
isPromptOnNonLocalDatabase
in class AbstractLiquibaseMojo
protected void doUpdate(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseUpdateMojo
doUpdate
in class AbstractLiquibaseUpdateMojo
liquibase
- The Liquibase object to use to perform the "update".LiquibaseException
protected Liquibase createLiquibase(ResourceAccessor fo, Database db) throws org.apache.maven.plugin.MojoExecutionException
createLiquibase
in class AbstractLiquibaseChangeLogMojo
org.apache.maven.plugin.MojoExecutionException
protected void printSettings(String indent)
AbstractLiquibaseMojo
printSettings
in class AbstractLiquibaseUpdateMojo
indent
- The indent string to use when printing the settings.protected void cleanup(Database db)
cleanup
in class AbstractLiquibaseMojo
Copyright © 2017 Liquibase.org. All rights reserved.