I'm using the dbdeploy maven plugin but it's throwing an error when I run a build. The error says :
[ERROR] com.dbdeploy.exceptions.SchemaVersionTrackingException: Could not retrieve change log from database because: user lacks privilege or object not found: CHANGELOG
This is because the CHANGELOG table that dbdeploy uses has not been created. I can see how it is done using the ant build script that comes with the examples, but I can't figure out how to get it done with the maven plugin (I don't want to run an ant task under maven, that defeats the point of the dbdeploy-maven-plugin).
Any ideas?