public abstract class AbstractLiquibaseChangeLogMojo extends AbstractLiquibaseMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
changeLogDirectory
Specifies the change log directory into which liquibase can find the change log file.
|
protected String |
changeLogFile
Specifies the change log file to use for Liquibase.
|
protected String |
contexts
The Liquibase contexts to execute, which can be "," separated if multiple contexts
are required.
|
protected String |
labels
The Liquibase labels to execute, which can be "," separated if multiple labels
are required or a more complex expression.
|
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 |
|---|
AbstractLiquibaseChangeLogMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRequiredParametersAreSpecified()
Performs some validation after the properties file has been loaded checking that all
properties required have been specified.
|
protected Liquibase |
createLiquibase(ResourceAccessor fo,
Database db) |
protected ResourceAccessor |
getFileOpener(ClassLoader cl) |
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.
|
cleanup, configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFileprotected String changeLogDirectory
protected String changeLogFile
protected String contexts
protected String labels
protected void checkRequiredParametersAreSpecified()
throws org.apache.maven.plugin.MojoFailureException
AbstractLiquibaseMojocheckRequiredParametersAreSpecified in class AbstractLiquibaseMojoorg.apache.maven.plugin.MojoFailureException - If any property that is required has not been
specified.protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
Liquibase.performLiquibaseTask in class AbstractLiquibaseMojoliquibase - The Liquibase that has been fully
configured to run the desired database task.LiquibaseExceptionprotected void printSettings(String indent)
AbstractLiquibaseMojoprintSettings in class AbstractLiquibaseMojoindent - The indent string to use when printing the settings.protected ResourceAccessor getFileOpener(ClassLoader cl)
getFileOpener in class AbstractLiquibaseMojoprotected Liquibase createLiquibase(ResourceAccessor fo, Database db) throws org.apache.maven.plugin.MojoExecutionException
createLiquibase in class AbstractLiquibaseMojoorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2018 Liquibase.org. All rights reserved.