Package org.liquibase.maven.plugins
Class LiquibaseTag
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.liquibase.maven.plugins.AbstractLiquibaseMojo
org.liquibase.maven.plugins.LiquibaseTag
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Writes a Liquibase tag to the database.
-
Field Summary
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
analyticsEnabled, changeExecListenerClass, changeExecListenerPropertiesFile, changelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultChangeExecListener, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, logLevel, mojoExecution, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, preserveSchemaCase, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, searchPath, session, showBanner, skip, skipOnFileExists, suppressLiquibaseSql, systemProperties, url, username, verbose, wagonManagerFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPerforms some validation after the properties file has been loaded checking that all properties required have been specified.protected voidperformLiquibaseTask(Liquibase liquibase) protected voidprintSettings(String indent) Prints the settings that have been set of defaulted for the plugin.Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
cleanup, configureChangeLogProperties, configureFieldsAndValues, createLiquibase, databaseConnectionRequired, execute, getClassLoaderIncludingProjectClasspath, getField, getLiquibase, getLog, getMavenArtifactClassLoader, getOutputStream, getOutputWriter, getResourceAccessor, isPromptOnNonLocalDatabase, parsePropertiesFile, setupBindInfoPackageMethods inherited from class org.apache.maven.plugin.AbstractMojo
getPluginContext, setLog, setPluginContext
-
Constructor Details
-
LiquibaseTag
public LiquibaseTag()
-
-
Method Details
-
checkRequiredParametersAreSpecified
protected void checkRequiredParametersAreSpecified() throws org.apache.maven.plugin.MojoFailureExceptionDescription copied from class:AbstractLiquibaseMojoPerforms some validation after the properties file has been loaded checking that all properties required have been specified.- Overrides:
checkRequiredParametersAreSpecifiedin classAbstractLiquibaseMojo- Throws:
org.apache.maven.plugin.MojoFailureException- If any property that is required has not been specified.
-
printSettings
Description copied from class:AbstractLiquibaseMojoPrints the settings that have been set of defaulted for the plugin. These will only be shown in verbose mode.- Overrides:
printSettingsin classAbstractLiquibaseMojo- Parameters:
indent- The indent string to use when printing the settings.
-
performLiquibaseTask
- Specified by:
performLiquibaseTaskin classAbstractLiquibaseMojo- Throws:
LiquibaseException
-