hibernate4:export is skipped, when annotated classes are unchanged
authorKai Moritz <kai@coolibri.de>
Tue, 11 Dec 2012 16:02:14 +0000 (17:02 +0100)
committerKai Moritz <kai@coolibri.de>
Tue, 11 Dec 2012 20:57:08 +0000 (21:57 +0100)
commita4de03f352b21ce6abad570d2753467e3a972a10
treeb2cdd839f3344ca2da81ef254089e1651e8f3b65
parent2f3807b9fbde5c1230e3a22010932ddec722871b
hibernate4:export is skipped, when annotated classes are unchanged

Hbm2DdlMojo now checks the last-modified-timestamp of all found annotated
classes and aborts the schema-generation, when no class has changed and no
new class was added since the last execution.

It then sets a maven-property, to indicate to other plugins, that the
generation was skipped.
src/main/java/de/juplo/plugins/hibernate4/Hbm2DdlMojo.java