Package org.liquibase.maven.plugins
Class LiquibaseChecksRunMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.liquibase.maven.plugins.AbstractLiquibaseMojo
org.liquibase.maven.plugins.AbstractLiquibaseChecksMojo
org.liquibase.maven.plugins.LiquibaseChecksRunMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
Check the changelog for issues
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringAllows automatic backup and updating of liquibase.checks.conf file when new policy checks are available.protected StringSpecifies the changelog file for Liquibase Policy Checks to use.protected StringComma-separated list of one or more enabled checks to run.protected StringThe Liquibase component to run checks against, which can be a comma separated listprotected StringThe JDBC driver properties fileprotected StringSpecifies the format file for Liquibase Policy Checks to use.protected Fileprotected StringThe schemas to snapshotprotected StringFields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseChecksMojo
checksSettingsFileFields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
analyticsEnabled, changeExecListenerClass, changeExecListenerPropertiesFile, changelogCatalogName, changelogSchemaName, clearCheckSums, commandName, databaseChangelogHistoryCaptureExtensions, databaseChangelogHistoryCaptureSql, databaseChangelogHistoryEnabled, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, dbclHistoryCaptureExtensions, dbclHistoryCaptureSql, dbclHistoryEnabled, defaultCatalogName, defaultChangeExecListener, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, licenseUtilityEnabled, licenseUtilityTrackingId, licenseUtilityUrl, logFormat, logging, logLevel, mojoExecution, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, preserveSchemaCase, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, psqlArgs, psqlKeepTemp, psqlKeepTempName, psqlKeepTempPath, psqlLogFile, psqlPath, psqlTimeout, reportsEnabled, searchPath, session, showBanner, skip, skipOnFileExists, sqlcmdArgs, sqlcmdCatalogName, sqlcmdKeepTemp, sqlcmdKeepTempName, sqlcmdKeepTempOverwrite, sqlcmdKeepTempPath, sqlcmdLogFile, sqlcmdPath, sqlcmdTimeout, sqlPlusArgs, sqlPlusKeepTemp, sqlPlusKeepTempName, sqlPlusKeepTempOverwrite, sqlPlusKeepTempPath, sqlPlusLogFile, sqlPlusPath, sqlPlusTimeout, suppressLiquibaseSql, systemProperties, url, username, vaultAddr, vaultNamespace, vaultToken, verbose, wagonManagerFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseChecksMojo
databaseConnectionRequired, doesMarkerClassExistMethods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
checkRequiredParametersAreSpecified, cleanup, configureChangeLogProperties, configureFieldsAndValues, createLiquibase, execute, getClassLoaderIncludingProjectClasspath, getField, getLicenseKey, getLiquibase, getLog, getMavenArtifactClassLoader, getOutputStream, getOutputWriter, getResourceAccessor, isPromptOnNonLocalDatabase, parsePropertiesFile, printSettings, setPassword, setupBindInfoPackage, setUrl, setUsername, setVaultAddr, setVaultNamespace, setVaultTokenMethods inherited from class org.apache.maven.plugin.AbstractMojo
getPluginContext, setLog, setPluginContext
-
Field Details
-
changeLogFile
Specifies the changelog file for Liquibase Policy Checks to use. -
format
Specifies the format file for Liquibase Policy Checks to use. If not specified, the default format will be used. -
checksScope
The Liquibase component to run checks against, which can be a comma separated list -
autoUpdate
Allows automatic backup and updating of liquibase.checks.conf file when new policy checks are available. Options: [on|off] -
checkName
Comma-separated list of one or more enabled checks to run. If not specified, all enabled checks will run. Example: --check-name=shortname1,shortname2,shortname3 -
schemas
The schemas to snapshot -
driverPropertiesFile
The JDBC driver properties file -
outputFile
-
sqlParserExceptionLogAtLevel
-
-
Constructor Details
-
LiquibaseChecksRunMojo
public LiquibaseChecksRunMojo()
-
-
Method Details
-
performLiquibaseTask
- Specified by:
performLiquibaseTaskin classAbstractLiquibaseMojo- Throws:
CommandExecutionException
-