Goals available for this plugin:
| Goal | Description |
|---|---|
| liquibase:changelogSync | Marks all unapplied changes to the database as applied in the change log. |
| liquibase:changelogSyncSQL | Generates SQL that marks all unapplied changes as applied. |
| liquibase:clearCheckSums | Clears all checksums in the current changelog, so they will be recalculated next update. |
| liquibase:dbDoc | Generates dbDocs against the database. |
| liquibase:diff | Generates a diff between the specified database and the reference database. |
| liquibase:dropAll | Drops all database objects owned by the user. Note that functions, procedures and packages are not dropped. |
| liquibase:listLocks | Lists all Liquibase updater locks on the current database. |
| liquibase:migrate | Deprecated. Use the LiquibaseUpdate class or Maven goal "update" instead. |
| liquibase:migrateSQL | Deprecated. Use LiquibaseUpdateSQL or Maven goal "updateSQL"
instead. |
| liquibase:releaseLocks | Removes any Liquibase updater locks from the current database. |
| liquibase:rollback | Invokes Liquibase rollbacks on a database. |
| liquibase:rollbackSQL | Generates the SQL that is required to rollback the database to the specified pointing attributes 'rollbackCount', 'rollbackTag' |
| liquibase:status | Prints which changesets need to be applied to the database. |
| liquibase:tag | Writes a Liquibase tag to the database. |
| liquibase:update | Applies the DatabaseChangeLogs to the database. Useful as part of the build process. |
| liquibase:updateSQL | Generates the SQL that is required to update the database to the current version as specified in the DatabaseChangeLogs. |
| liquibase:updateTestingRollback | Applies the DatabaseChangeLogs to the database, testing rollback. This is done by updating the database, rolling it back then updating it again. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.6 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>2.0.3-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>2.0.3-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"