Projekt-Dokumentation (Aktueller Stand von juplo.de) hinzugefĆ¼gt
[website] / dist / hibernate4-maven-plugin-1.0.5 / force.html
1 <!DOCTYPE html>
2 <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2014-11-11 -->
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, skip.html, force.html, pitfalls.html] -->
7 <html>
8   <head>
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     </style>
17     <script src="/js/base.js"></script>
18     <!--[if IE 8]>
19       <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
20       <script src="/js/ie8.js"></script>
21     <![endif]-->
22     <!--[if IE 7]>
23       <script src="/js/ie7.js"></script>
24     <![endif]-->
25     <!--[if lt IE 7]>
26       <script src="/js/ie6.js"></script>
27     <![endif]-->
28         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
29   </head>
30   <body class="menu" onload="prettyPrint()">
31     <div id="page" class="cf">
32       <header id="header">
33         <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
34         <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
35         <hr class="h" />
36       </header>
37       <div id="breadcrumb">
38         <strong class="b title">You are here:</strong>
39         <ol class="b">
40           <li class="b"><a class="b" href="/">Home</a></li>
41           <li class="b"><a class="b" href="/projects.html">Projects</a></li>
42                       <li class="b"><a class="b" href="./index.html">Hibernate 4 Maven Plugin</a></li>
43                         <li class="b"><strong class="b">Force Exceution</strong></li>
44                   </ol>
45         <a class="hide" href="#navigation">Jump to navigation</a>
46         <hr class="b" />
47       </div>
48       <main class="content cf">
49         <article id="content" class="main">
50           <header><h1>Force Exceution</h1></header>
51           
52  
53  
54   
55 <p>
56   The hibernate4-maven-plugin computes MD5-sums for all found annotated
57   classes and stores them together with the generated schema.
58   If no classes were changed or added and the dialect wasn't changed too, it
59   automatically skips the configured schema-export, to speed up the development
60   cycle.
61   </p>
62   
63 <p>
64   The plugin signals, that the execution was skipped by setting the maven
65   property <tt>$\{hibernate.export.skipped\}</tt> to <tt>true</tt>.
66   This may be helpful, because other plugins like
67   <a class="externalLink" href="http://mojo.codehaus.org/dbunit-maven-plugin/">dbunit-plugin</a>
68   <a href="./pitfalls.html#fails">may fail</a>, when the execution is skipped.
69   </p>
70   
71 <p>
72   If you need the hibernate4-maven-plugin to &lt;never skip execution automatically&gt;,
73   you can force it to do so, if you set the parameter <tt>force</tt> to
74   <tt>true</tt>:
75   </p>
76   
77 <div>
78 <pre class="prettyprint linenums lang-html">
79 &lt;plugin&gt;
80   &lt;groupId&gt;de.juplo&lt;/groupId&gt;
81   &lt;artifactId&gt;hibernate4-maven-plugin&lt;/artifactId&gt;
82   &lt;version&gt;1.0.5&lt;/version&gt;
83   &lt;configuration&gt;
84     &lt;force&gt;true&lt;/force&gt;
85   &lt;/configuration&gt;
86 &lt;/plugin&gt;</pre></div>
87   
88 <p>
89   Or you may specify <tt>-Dhibernate.export.force=true</tt> at the command line,
90   if you want to force hibernate4-maven-plugin only once.
91   </p>
92  
93
94         </article>
95         <div class="marginal">
96           <nav id="nav">
97             <hr class="n" />
98             <a id="navigation"></a>
99             <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
100             <h2 class="nav menu">Section-Menu</h2>
101             <ul id="menu">
102               <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
103               <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
104               <li class="m about"><a href="/about.html" class="m">About</a></li>
105             </ul>
106             <h2 class="nav submenu">
107               <span class="s">Submenu for section</span>
108               <a class="s selected" href="/projects.html">Projects</a>
109             </h2>
110             <ul id="submenu" class="s">
111                                                               <li class="s sub">
112                                           <a class="s selected" href="./index.html">Hibernate 4 Maven Plugin</a>
113                                         <ul class="s active">
114                                                                                                                                                                                                                                                           <li class="s">
115                     <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
116                 </li>
117                                                                                                                   <li class="s">
118                     <a href="export-mojo.html" class="s" title="Parameter Documentation">Parameter Documentation</a>
119                 </li>
120                                                                                                                   <li class="s">
121                     <a href="debugging.html" class="s" title="Enable Debug-Output">Enable Debug-Output</a>
122                 </li>
123                                                                                                                   <li class="s">
124                     <a href="skip.html" class="s" title="Skipping Execution">Skipping Execution</a>
125                 </li>
126                                                                                                                         <li class="s">
127               <strong class="s">Force Exceution</strong>
128                 </li>
129                                                                                                                   <li class="s">
130                     <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
131                 </li>
132                                                                                                                                                                                                                                                                                                                                                   <li class="s sub">
133                     <a href="project-info.html" class="s" title="Project Information">Project Information</a>
134                 </li>
135                                                                                                                                                                                                   <li class="s sub">
136                     <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
137                 </li>
138                                                                                               </ul>
139                   </li>
140                                           </ul>
141             <hr class="n" />
142           </nav>
143           <aside class="m">
144             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
145               <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
146             </a>
147           </aside>
148         </div>
149       </main>
150       <footer id="footer">
151         <hr class="f" />
152         <ul id="footerlinks">
153           <li class="f" id="copyright">&#xa9; <strong>mo</strong>             2014
154       </li>
155           <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
156           <li class="f about"><a class="f" href="/about.html">About</a></li>
157         </ul>
158       </footer>
159     </div>
160         <script type="text/javascript"><!--//--><![CDATA[//><!--
161       var _gaq = _gaq || [];
162       _gaq.push(['_setAccount', 'UA-571104-3']);
163       _gaq.push(['_trackPageview']);
164       (function() {
165         var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
166         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
167         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
168       })();
169     //--><!]]>
170     </script>
171       </body>
172 </html>