public abstract class AbstractLiquibaseChangeLogMojo extends AbstractLiquibaseMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
changeLogDirectory
Specifies the directory where Liquibase can find your changelog file.
|
protected String |
changeLogFile
Specifies the changelog file for Liquibase to use.
|
protected String |
contexts
Specifies which contexts Liquibase will execute, which can be separated by a commaif multiple contexts
are required.
|
protected String |
hubApiKey
Specifies the Liquibase Hub API key for Liquibase to use.
|
protected String |
hubMode
Specifies the Liquibase Hub URL for Liquibase to use.
|
protected String |
hubUrl
Specifies the Liquibase Hub URL for Liquibase to use.
|
protected String |
labels
Specifies which Liquibase labels Liquibase will execute, which can be separated by a commaif multiple labels
are required or you need to designate a more complex expression.
|
changelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, liquibaseProLicenseKey, 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(Database db) |
protected ResourceAccessor |
getResourceAccessor(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, configureChangeLogProperties, configureFieldsAndValues, execute, getClassLoaderIncludingProjectClasspath, getField, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, hasProLicense, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackage@PropertyElement protected String changeLogDirectory
@PropertyElement protected String changeLogFile
@PropertyElement protected String contexts
@PropertyElement protected String labels
@PropertyElement(key="liquibase.hub.apiKey") protected String hubApiKey
@PropertyElement(key="liquibase.hub.url") protected String hubUrl
@PropertyElement(key="liquibase.hub.mode") protected String hubMode
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 getResourceAccessor(ClassLoader cl)
getResourceAccessor in class AbstractLiquibaseMojoprotected Liquibase createLiquibase(Database db) throws org.apache.maven.plugin.MojoExecutionException
createLiquibase in class AbstractLiquibaseMojoorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2022 Liquibase.org. All rights reserved.