public class LiquibaseChangeLogSyncSQLMojo extends AbstractLiquibaseChangeLogMojo
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.
|
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 |
---|
LiquibaseChangeLogSyncSQLMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(Database db) |
protected Liquibase |
createLiquibase(ResourceAccessor fo,
Database db) |
protected boolean |
isPromptOnNonLocalDatabase() |
protected void |
performLiquibaseTask(Liquibase liquibase)
Performs the actual Liquibase task on the database using the fully configured
Liquibase . |
protected void |
printSettings(String indent)
Prints the settings that have been set of defaulted for the plugin.
|
checkRequiredParametersAreSpecified, getFileOpener
configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, parsePropertiesFile
protected File migrationSqlOutputFile
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
AbstractLiquibaseChangeLogMojo
Liquibase
.performLiquibaseTask
in class AbstractLiquibaseChangeLogMojo
liquibase
- The Liquibase
that has been fully
configured to run the desired database task.LiquibaseException
protected void printSettings(String indent)
AbstractLiquibaseMojo
printSettings
in class AbstractLiquibaseChangeLogMojo
indent
- The indent string to use when printing the settings.protected boolean isPromptOnNonLocalDatabase()
isPromptOnNonLocalDatabase
in class AbstractLiquibaseMojo
protected Liquibase createLiquibase(ResourceAccessor fo, Database db) throws org.apache.maven.plugin.MojoExecutionException
createLiquibase
in class AbstractLiquibaseChangeLogMojo
org.apache.maven.plugin.MojoExecutionException
protected void cleanup(Database db)
cleanup
in class AbstractLiquibaseMojo
Copyright © 2016 Liquibase.org. All rights reserved.