2 <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2014-04-29 -->
3 <!-- Current: force.html -->
4 <!-- Active: index.html -->
5 <!-- Path: [index.html, force.html] -->
6 <!-- Skiplist: [index.html, configuration.html, export-mojo.html, debugging.html, force.html, pitfalls.html] -->
9 <title>juplo - Hibernate 4 Maven Plugin - Force Exceution</title>
10 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11 <link rel="canonical" href="http://juplo.de/hibernate4-maven-plugin/force.html"/>
12 <meta name="viewport" content="width=device-width, initial-scale=1" />
13 <link rel="stylesheet" type="text/css" href="/css/base.css" />
14 <style type="text/css">
15 @import '/css/screen.css' screen;
16 @import '/css/print.css' print;
18 <script src="/js/base.js"></script>
20 <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
21 <script src="/js/ie8.js"></script>
24 <script src="/js/ie7.js"></script>
27 <script src="/js/ie6.js"></script>
29 <meta name="Date-Revision-yyyymmdd" content="20140429" />
30 <meta http-equiv="Content-Language" content="en" />
33 <body id="top" class="menu" onload="prettyPrint()">
34 <div id="page" class="cf">
36 <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
37 <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
41 <strong class="b title">You are here:</strong>
43 <li class="b"><a class="b" href="/">Home</a></li>
44 <li class="b"><a class="b" href="/projects.html">Projects</a></li>
45 <li class="b"><a class="b" href="./index.html">Hibernate 4 Maven Plugin</a </li>
46 <li class="b"><strong class="b">Force Exceution</strong></li>
48 <a class="hide" href="#nav" title="Show navigation menu">Jump to navigation</a>
51 <main class="content cf">
52 <section id="content" class="main">
53 <h1>Hibernate 4 Maven Plugin - Force Exceution</h1>
55 <h2>Force execution<a name="Force_execution"></a></h2>
56 <p>The hibernate4-maven-plugin computes MD5-sums for all found annotated classes and stores them together with the generated schema. If no classes were changed or added and the dialect wasn't changed too, it automatically skips the configured schema-export, to speed up the development cycle.</p>
57 <p>The plugin signals, that the execution was skipped by setting the maven property <tt>$<a name="hibernate.export.skipped">hibernate.export.skipped</a></tt> to <tt>true</tt>. This may be helpful, because other plugins like <a class="externalLink" href="http://mojo.codehaus.org/dbunit-maven-plugin/">dbunit-plugin</a> <a href="./pitfalls.html#fails">may fail</a>, when the execution is skipped.</p>
58 <p>If you need the hibernate4-maven-plugin to <i>never skip automatically</i> execution, you can force it to do so, if you set the parameter <tt>force</tt> to <tt>true</tt>:</p>
61 <groupId>de.juplo</groupId>
62 <artifactId>hibernate4-maven-plugin</artifactId>
63 <version>${project.version}</version>
65 <force>true</force>
66 </configuration>
67 </plugin></pre></div>
68 <p>Or you may specify <tt>-Dhibernate.export.force=true</tt> at the command line, if you want to force hibernate4-maven-plugin only once.</p></div>
70 <div class="marginal">
73 <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
74 <h2 class="nav menu">Section-Menu</h2>
76 <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
77 <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
79 <h2 class="nav submenu">
80 <span class="s">Submenu for section</span>
81 <a class="s selected" href="/projects.html">Projects</a>
83 <ul id="submenu" class="s">
85 <a class="s selected" href="./index.html">Hibernate 4 Maven Plugin</a>
88 <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
91 <a href="export-mojo.html" class="s" title="Parameter Documentation">Parameter Documentation</a>
94 <a href="debugging.html" class="s" title="Enable Debug-Output">Enable Debug-Output</a>
97 <strong class="s">Force Exceution</strong>
100 <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
103 <a href="project-info.html" class="s" title="Project Information">Project Information</a>
106 <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
114 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
115 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
122 <ul id="footerlinks">
123 <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
124 <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
125 <li class="f about"><a class="f" href="/about.html">About</a></li>
129 <script type="text/javascript"><!--//--><![CDATA[//><!--
130 var _gaq = _gaq || [];
131 _gaq.push(['_setAccount', 'UA-571104-3']);
132 _gaq.push(['_trackPageview']);
134 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
135 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
136 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);