public class LiquibaseUpdateSQL extends AbstractLiquibaseUpdateMojo
Modifier and Type | Field and Description |
---|---|
protected File |
migrationSqlOutputFile
The file to output the Migration SQL script to, if it exists it will be
overwritten.
|
changesToApply, toTag
changeLogDirectory, 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 |
---|
LiquibaseUpdateSQL() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(Database db) |
protected Liquibase |
createLiquibase(ResourceAccessor fo,
Database db) |
protected void |
doUpdate(Liquibase liquibase)
Performs the actual "update" work on the database.
|
protected boolean |
isPromptOnNonLocalDatabase() |
protected void |
printSettings(String indent)
Prints the settings that have been set of defaulted for the plugin.
|
performLiquibaseTask
checkRequiredParametersAreSpecified, getFileOpener
configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, parsePropertiesFile
protected File migrationSqlOutputFile
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 © 2019 Liquibase.org. All rights reserved.