2 <!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-03-09 -->
3 <!-- Current: force.html -->
4 <!-- Active: index.html -->
5 <!-- Path: [index.html, force.html] -->
6 <!-- Skiplist: [index.html, configuration.html, create-mojo.html, drop-mojo.html, debugging.html, skip.html, force.html, pitfalls.html] -->
9 <title>juplo - Hibernate 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/hibernate-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;
17 <script src="/js/prettify.js"></script>
19 <script src="/js/html5shiv.js"></script>
22 <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
26 <body class="menu" onload="prettyPrint()">
27 <div id="page" class="cf">
29 <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
30 <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
34 <strong class="b title">You are here:</strong>
36 <li class="b"><a class="b" href="/">Home</a></li>
37 <li class="b"><a class="b" href="/projects.html">Projects</a></li>
38 <li class="b"><a class="b" href="./index.html">Hibernate Maven Plugin</a></li>
39 <li class="b"><strong class="b">Force Exceution</strong></li>
41 <a class="hide" href="#navigation">Jump to navigation</a>
44 <main class="content cf">
45 <article id="content" class="main">
46 <header><h1>Force Exceution</h1></header>
52 The hibernate-maven-plugin computes MD5-sums for all found annotated
53 classes and stores them together with the generated schema.
54 If no classes were changed or added and the dialect wasn't changed too, it
55 automatically skips the configured schema-export, to speed up the development
60 The plugin signals, that the execution was skipped by setting the maven
61 property <tt>${hibernate.schema.skipped}</tt> to <tt>true</tt>.
62 This may be helpful, because other plugins like
63 <a class="externalLink" href="http://mojo.codehaus.org/dbunit-maven-plugin/">dbunit-plugin</a>
64 <a href="./pitfalls.html#fails">may fail</a>, when the execution is skipped.
68 If you need the hibernate-maven-plugin to <i>never skip execution automatically</i>,
69 you can force it to do so, if you set the parameter <tt>force</tt> to
74 <pre class="prettyprint linenums lang-html">
76 <groupId>de.juplo</groupId>
77 <artifactId>hibernate-maven-plugin</artifactId>
78 <version>2.0.0</version>
80 <force>true</force>
81 </configuration>
82 </plugin></pre></div>
85 Or you may specify <tt>-Dhibernate.schema.force=true</tt> at the command line,
86 if you want to force hibernate-maven-plugin only once.
91 <div class="marginal">
94 <a id="navigation"></a>
95 <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
96 <h2 class="nav menu">Section-Menu</h2>
98 <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
99 <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
100 <li class="m about"><a href="/about.html" class="m">About</a></li>
102 <h2 class="nav submenu">
103 <span class="s">Submenu for section</span>
104 <a class="s selected" href="/projects.html">Projects</a>
106 <ul id="submenu" class="s">
108 <a class="s selected" href="./index.html">Hibernate Maven Plugin</a>
109 <ul class="s active">
111 <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
114 <a href="create-mojo.html" class="s" title="Goal: CREATE">Goal: CREATE</a>
117 <a href="drop-mojo.html" class="s" title="Goal: DROP">Goal: DROP</a>
120 <a href="debugging.html" class="s" title="Enable Debug-Output">Enable Debug-Output</a>
123 <a href="skip.html" class="s" title="Skipping Execution">Skipping Execution</a>
126 <strong class="s">Force Exceution</strong>
129 <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
132 <a href="project-info.html" class="s" title="Project Information">Project Information</a>
135 <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
143 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
144 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
151 <ul id="footerlinks">
152 <li class="f" id="copyright">© <strong>mo</strong> 2016
154 <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
155 <li class="f about"><a class="f" href="/about.html">About</a></li>
159 <script type="text/javascript"><!--//--><![CDATA[//><!--
160 var _gaq = _gaq || [];
161 _gaq.push(['_setAccount', 'UA-571104-3']);
162 _gaq.push(['_trackPageview']);
164 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
165 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
166 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);