1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <header><h1>Force Execution</h1></header>
9 The hibernate4-maven-plugin computes MD5-sums for all found annotated
10 classes and stores them together with the generated schema.
11 If no classes were changed or added and the dialect wasn't changed too, it
12 automatically skips the configured schema-export, to speed up the development
16 The plugin signals, that the execution was skipped by setting the maven
17 property <code>$\{hibernate.export.skipped\}</code> to <code>true</code>.
18 This may be helpful, because other plugins like
19 <a href="http://mojo.codehaus.org/dbunit-maven-plugin/">dbunit-plugin</a>
20 <a href="./pitfalls.html#fails">may fail</a>, when the execution is skipped.
23 If you need the hibernate4-maven-plugin to <never skip execution automatically>,
24 you can force it to do so, if you set the parameter <code>force</code> to
27 <pre class="prettyprint linenums lang-html">
29 <groupId>de.juplo</groupId>
30 <artifactId>hibernate4-maven-plugin</artifactId>
31 <version>${project.version}</version>
33 <force>true</force>
34 </configuration>
37 Or you may specify <code>-Dhibernate.export.force=true</code> at the command line,
38 if you want to force hibernate4-maven-plugin only once.