Running liquibase from command line

Create liquibase.properties file next to the changeLogFile (which by default is named install.xml)

promptOnNonLocalDatabase false
url jdbc:postgresql://hostname/db_name
username my_user
password my_pass
driver org.postgresql.Driver
defaultSchemaName localizer

Execute commands:

$ cd my_project/src/main/resources

$ ~/liquibase-3.0.0-bin/liquibase –driver=org.postgresql.Driver –classpath=/path/to/postgresql-9.0-801.jdbc4.jar –changeLogFile=install.xml –defaultsFile=liquibase.properties –logLevel=debug –logFile=/tmp/localizer-liquibase.log update -DschemaName=my_schema

Liquibase Home is not set.
Liquibase Home: /my/userhomedir/liquibase-3.0.0-bin
Liquibase update Failed: Validation Failed:
8 change sets check sum
….

….

For more information, use the –logLevel flag