Package org.liquibase.maven.plugins
Class LiquibaseDbclHistoryMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.liquibase.maven.plugins.AbstractLiquibaseMojo
-
- org.liquibase.maven.plugins.LiquibaseDbclHistoryMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
public class LiquibaseDbclHistoryMojo extends AbstractLiquibaseMojo
List all rows from the Liquibase Pro 'DATABASECHANGELOGHISTORY' tracking table.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
driverPropertiesFile
The JDBC driver properties fileprotected String
format
Sets the output method to JSON or JSON_PRETTYprotected File
outputFile
protected Boolean
verbose
Set to 'true' to output all data from EXECUTEDSQL and EXTENSIONS columns-
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
changeExecListenerClass, changeExecListenerPropertiesFile, changelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangelogHistoryCaptureExtensions, databaseChangelogHistoryCaptureSql, databaseChangelogHistoryEnabled, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, dbclHistoryCaptureExtensions, dbclHistoryCaptureSql, dbclHistoryEnabled, defaultCatalogName, defaultChangeExecListener, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logFormat, logging, logLevel, mojoExecution, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, preserveSchemaCase, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, psqlArgs, psqlKeepTemp, psqlKeepTempName, psqlKeepTempPath, psqlLogFile, psqlPath, psqlTimeout, searchPath, session, showBanner, skip, skipOnFileExists, sqlcmdArgs, sqlcmdCatalogName, sqlcmdKeepTemp, sqlcmdKeepTempName, sqlcmdKeepTempOverwrite, sqlcmdKeepTempPath, sqlcmdLogFile, sqlcmdPath, sqlcmdTimeout, sqlPlusArgs, sqlPlusKeepTemp, sqlPlusKeepTempName, sqlPlusKeepTempOverwrite, sqlPlusKeepTempPath, sqlPlusLogFile, sqlPlusPath, sqlPlusTimeout, systemProperties, url, username, wagonManager
-
-
Constructor Summary
Constructors Constructor Description LiquibaseDbclHistoryMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performLiquibaseTask(Liquibase liquibase)
-
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
checkRequiredParametersAreSpecified, cleanup, configureChangeLogProperties, configureFieldsAndValues, createLiquibase, databaseConnectionRequired, execute, getClassLoaderIncludingProjectClasspath, getField, getLicenseKey, getLiquibase, getLog, getMavenArtifactClassLoader, getOutputStream, getOutputWriter, getResourceAccessor, isPromptOnNonLocalDatabase, parsePropertiesFile, printSettings, setPassword, setupBindInfoPackage, setUrl, setUsername
-
-
-
-
Field Detail
-
driverPropertiesFile
@PropertyElement protected String driverPropertiesFile
The JDBC driver properties file
-
outputFile
@PropertyElement protected File outputFile
-
verbose
@PropertyElement protected Boolean verbose
Set to 'true' to output all data from EXECUTEDSQL and EXTENSIONS columns
-
format
@PropertyElement protected String format
Sets the output method to JSON or JSON_PRETTY
-
-
Method Detail
-
performLiquibaseTask
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException
- Specified by:
performLiquibaseTask
in classAbstractLiquibaseMojo
- Throws:
LiquibaseException
-
-