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 hibernate-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 SQL-generation — and more
13 important in this respect — the execution of the generated SQL,
14 to speed up the development cycle.
17 The plugin signals, that the execution was skipped by setting the maven
18 property <code>${hibernate.schema.skipped}</code> to <code>true</code>.
19 This may be helpful, because other plugins like
20 <a href="http://mojo.codehaus.org/dbunit-maven-plugin/">dbunit-plugin</a>
21 <a href="./pitfalls.html#fails">may fail</a>, when the execution is skipped.
24 If you need the hibernate-maven-plugin to <em>never skip execution automatically</em>,
25 you can force it to do so, if you set the parameter <code>force</code> to
28 <pre class="prettyprint linenums lang-html">
30 <groupId>de.juplo</groupId>
31 <artifactId>hibernate-maven-plugin</artifactId>
32 <version>${project.version}</version>
34 <force>true</force>
35 </configuration>
38 Or you may specify <code>-Dhibernate.schema.force=true</code> at the command line,
39 if you want to force hibernate-maven-plugin only once.