If -Dhibernate.export.force is specified, the schema-export will be forced.
*/
private boolean skip;
+ /**
+ * Force execution
+ * <p>
+ * Force execution, even if no modified or newly added annotated classes
+ * where found. <code>skip</code> takes precedence over <code>force</code>.
+ *
+ * @parameter expression="${hibernate.export.force}" default-value="false"
+ */
+ private boolean force;
+
/**
* SQL-Driver name.
*
!modified
&& !target.equals(Target.SCRIPT)
&& !target.equals(Target.NONE)
+ && !force
)
{
getLog().info("No modified annotated classes found and dialect unchanged.");