Updated pom
Added check for foreign keys (as validation)
Updated POMs
Merge branch 'preparing-0.3'