This module uses blueprint and generates xml file from cdi annotations, for more informations look at the liquid-reality (Christian Schneider) blog
In order to use database versioning, follow this steps: * Ensure the production database is started and have the same port as the one specified in the parent pom * Execute mvn clean install -Pdb-diff to have the according tables structure changelog * Then add the generated changelogs on the database module/src/main/resources/db/db.changelog.xml
<databaseChangeLog>
<include file="db/db-20121120_120949.changelog.xml" />
</databaseChangeLog>
* Execute mvn clean install -Pdb-data to retrieve ALL the production data on a changelog (it will be located on the db folder of the database module sources)
This file needs to be updated, as liquibase: Dumps all data. You will have to keep only the added data to your db from the previous db version. No diff here performed by Liquibase. Data is not properly ordered regarding referential integrity
Once this file has been cleaned-up, we can include it as well in our main db.changelog.xml file: <include file="db/db-data-20121128_170043.changelog.xml" />