Release Locks via Maven

Is there a way to tell Liquibase to release all locks when executing updateSql via Maven?


It looks like the command-line functionality supports this:

http://www.liquibase.org/manual/command_line

But I don’t see anything obvious for Maven.


The reason why I need this is that I execute liquibase via our automated build process.  Now and then the build process times out and ends the liquibase execution prematurely.  The changelock doesn’t seem to be released in this circumstance and blocks future attempted to run updateSql.

Disregard.  According to the plugin code this is supported:

http://liquibase.jira.com/svn/CORE/trunk/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/LiquibaseReleaseLocksMojo.java


The Maven documentation just needs to be updated:

http://www.liquibase.org/manual/maven


For a complete list of supported goals:

http://liquibase.jira.com/svn/CORE/trunk/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/