This plugin allows you to automatically do database definition/update as part of your maven build.
<plugin>
<groupId>org.equanda</groupId>
<artifactId>equanda-maven-plugin</artifactId>
<configuration>
<database>${synca.db.url}</database>
<dblogin>${synca.db.login}</dblogin>
<dbpassword>${synca.db.password}</dbpassword>
<dbmap>be.synergetics.ca.ddltool.EquandaMap</dbmap>
<ddltargets>update defaults</ddltargets>
</configuration>
<executions>
<execution>
<id>ddltool</id>
<phase>test-compile</phase>
<goals>
<goal>ddltool</goal>
</goals>
</execution>
</executions>
</plugin>