liquibase:changelogSyncSQL
Full name:
org.liquibase:liquibase-maven-plugin:2.0.2:changelogSyncSQL
Description:
Generates SQL that marks all unapplied changes as applied.
Attributes:
- Requires a Maven 2.0 project to be executed.
- Requires dependency resolution of artifacts in scope:
test.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
| changeLogFile | String |
- |
Specifies the change log file to use for Liquibase. |
| clearCheckSums | boolean |
- |
Flag for forcing the checksums to be cleared from teh
DatabaseChangeLog table. Default value is: false. |
| contexts | String |
- |
The Liquibase contexts to execute, which can be "," separated if
multiple contexts are required. If no context is specified then ALL
contexts will be executed. |
| databaseClass | String |
- |
The class to use as the database object. |
| defaultSchemaName | String |
- |
The default schema name to use the for database connection. |
| driver | String |
- |
The fully qualified name of the driver class to use to connect to
the database. |
| emptyPassword | boolean |
- |
Deprecated. Use an empty or null value for the password instead. Default value is: false. |
| expressionVariables | Map |
- |
Array to put a expression variable to maven plugin. |
| expressionVars | Properties |
- |
Array to put a expression variable to maven plugin. |
| includeArtifact | boolean |
- |
Allows for the maven project artifact to be included in the class
loader for obtaining the Liquibase property and DatabaseChangeLog
files. Default value is: true. |
| includeTestOutputDirectory | boolean |
- |
Allows for the maven test output directory to be included in the
class loader for obtaining the Liquibase property and
DatabaseChangeLog files. Default value is: true. |
| logging | String |
- |
Controls the level of logging from Liquibase when executing. The
value can be "all", "finest", "finer", "fine", "info", "warning",
"severe" or "off". The value is case insensitive. Default value is: INFO. |
| migrationSqlOutputFile | File |
- |
The file to output the Migration SQL script to, if it exists it
will be overwritten. Default value is: ${project.build.directory}/liquibase/migrate.sql. |
| password | String |
- |
The database password to use to connect to the specified database. |
| promptOnNonLocalDatabase | boolean |
- |
Controls the prompting of users as to whether or not they really
want to run the changes on a database that is not local to the
machine that the user is current executing the plugin on. Default value is: true. |
| propertyFile | String |
- |
The Liquibase properties file used to configure the Liquibase
Liquibase. |
| propertyFileWillOverride | boolean |
- |
Flag allowing for the Liquibase properties file to override any
settings provided in the Maven plugin configuration. By default if
a property is explicity specified it is not overridden if it also
appears in the properties file. Default value is: false. |
| server | String |
- |
The server id in settings.xml to use when authenticating with. |
| skip | boolean |
- |
Set this to 'true' to skip running liquibase. Its use is NOT
RECOMMENDED, but quite convenient on occasion. |
| systemProperties | Properties |
- |
List of system properties to pass to the database. |
| url | String |
- |
The Database URL to connect to for executing Liquibase. |
| username | String |
- |
The database username to use to connect to the specified database. |
| verbose | boolean |
- |
Controls the verbosity of the output from invoking the plugin. Default value is: false. |
Parameter Details
Specifies the change log file to use for Liquibase.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.changeLogFile}
Flag for forcing the checksums to be cleared from teh
DatabaseChangeLog table.
- Type:
boolean - Required:
No - Expression:
${liquibase.clearCheckSums} - Default:
false
The Liquibase contexts to execute, which can be "," separated if
multiple contexts are required. If no context is specified then ALL
contexts will be executed.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.contexts}
The class to use as the database object.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.databaseClass}
The default schema name to use the for database connection.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.defaultSchemaName}
The fully qualified name of the driver class to use to connect to
the database.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.driver}
Deprecated. Use an empty or null value for the password instead.
Use an empty string as the password for the database connection.
This should not be used along side the
password
setting.- Type:
boolean - Required:
No - Expression:
${liquibase.emptyPassword} - Default:
false
Array to put a expression variable to maven plugin.
- Type:
java.util.Map - Required:
No
Array to put a expression variable to maven plugin.
- Type:
java.util.Properties - Required:
No
Allows for the maven project artifact to be included in the class
loader for obtaining the Liquibase property and DatabaseChangeLog
files.
- Type:
boolean - Required:
No - Expression:
${liquibase.includeArtifact} - Default:
true
Allows for the maven test output directory to be included in the
class loader for obtaining the Liquibase property and
DatabaseChangeLog files.
- Type:
boolean - Required:
No - Expression:
${liquibase.includeTestOutputDirectory} - Default:
true
Controls the level of logging from Liquibase when executing. The
value can be "all", "finest", "finer", "fine", "info", "warning",
"severe" or "off". The value is case insensitive.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.logging} - Default:
INFO
The file to output the Migration SQL script to, if it exists it
will be overwritten.
- Type:
java.io.File - Required:
No - Expression:
${liquibase.migrationSqlOutputFile} - Default:
${project.build.directory}/liquibase/migrate.sql
The database password to use to connect to the specified database.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.password}
Controls the prompting of users as to whether or not they really
want to run the changes on a database that is not local to the
machine that the user is current executing the plugin on.
- Type:
boolean - Required:
No - Expression:
${liquibase.promptOnNonLocalDatabase} - Default:
true
The Liquibase properties file used to configure the Liquibase
Liquibase.- Type:
java.lang.String - Required:
No - Expression:
${liquibase.propertyFile}
Flag allowing for the Liquibase properties file to override any
settings provided in the Maven plugin configuration. By default if
a property is explicity specified it is not overridden if it also
appears in the properties file.
- Type:
boolean - Required:
No - Expression:
${liquibase.propertyFileWillOverride} - Default:
false
The server id in settings.xml to use when authenticating with.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.server}
skip:
Set this to 'true' to skip running liquibase. Its use is NOT
RECOMMENDED, but quite convenient on occasion.
- Type:
boolean - Required:
No - Expression:
${liquibase.should.run}
List of system properties to pass to the database.
- Type:
java.util.Properties - Required:
No
url:
The Database URL to connect to for executing Liquibase.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.url}
The database username to use to connect to the specified database.
- Type:
java.lang.String - Required:
No - Expression:
${liquibase.username}
Controls the verbosity of the output from invoking the plugin.
- Type:
boolean - Required:
No - Expression:
${liquibase.verbose} - Default:
false
