Automated Liquibase diff and checking if the diff's changed

We’re trying to automate the process of creating Liquibase diffs on checkin so we can catch Hibernate mapping changes that will affect our live DB schema when we promote our build to live.

The trouble is the liquibase diff files contain unique ID’s in the XML when they’re generated (I guess based on time created) so we can’t just do a simple file contents MD5 comparison.

One option is to use the diff log which won’t contain date data that changes.