Projekt-Dokumentation (Aktueller Stand von juplo.de) hinzugefĆ¼gt
[website] / dist / hibernate4-maven-plugin-1.0.3 / export-mojo.html
1 <!DOCTYPE html>
2 <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2013-12-16 -->
3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       <!-- Current: export-mojo.html -->
4 <!-- Active: index.html -->
5 <!-- Path: [index.html, export-mojo.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 - Parameter Documentation</title>
10     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11     <link rel="canonical" href="http://juplo.de/hibernate4-maven-plugin/export-mojo.html"/>
12     <link rel="stylesheet" type="text/css" href="/css/base.css" />
13     <style type="text/css">
14       @import '/css/screen.css' screen and (min-width: 960px);
15       @import '/css/phone.css' screen and (max-width: 599px);
16       @import '/css/tiny.css' screen and (max-width: 399px);
17     </style>
18     <script src="/js/base.js"></script>
19     <!--[if IE 8]>
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 name="Date-Revision-yyyymmdd" content="20131216" />
29     <meta http-equiv="Content-Language" content="en" />
30         
31   </head>
32   <body onload="prettyPrint()">
33     <div id="page">
34       <header id="header">
35         <a href="/" title="Home" id="logo">juplo</a>
36         <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
37         <hr class="h" />
38       </header>
39       <div id="breadcrumb">
40         <strong class="b title">You are here:</strong>
41         <ol class="b">
42           <li class="b"><a class="b" href="/">Home</a></li>
43           <li class="b"><a class="b" href="/projects.html">Projects</a></li>
44                       <li class="b"><a class="b" href="./index.html">Hibernate 4 Maven Plugin</a </li>
45                         <li class="b"><strong class="b">Parameter Documentation</strong></li>
46                   </ol>
47         <a class="hide" href="#navigation">Jump to navigation</a>
48         <div class="b"></div>
49       </div>
50       <div class="fc cols_2">
51         <div class="content cf">
52           <section id="content" class="main">
53             <h1>Hibernate 4 Maven Plugin - Parameter Documentation</h1>
54             
55   
56     <div class="section">
57 <h2>hibernate4:export<a name="hibernate4:export"></a></h2>
58       
59 <p><b>Full name</b>:</p>
60       
61 <p>de.juplo:hibernate4-maven-plugin:1.0.3:export</p>
62       
63 <p><b>Description</b>:</p>
64       
65 <div>Goal which extracts the hibernate-mapping-configuration and exports
66 an according SQL-database-schema.</div>
67       
68 <p><b>Attributes</b>:</p>
69       
70 <ul>
71         
72 <li>Requires a Maven project to be executed.</li>
73         
74 <li>Requires dependency resolution of artifacts in scope: <tt>runtime</tt>.</li>
75         
76 <li>The goal is thread-safe and supports parallel builds.</li>
77         
78 <li>Binds by default to the <a class="externalLink" href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">lifecycle phase</a>: <tt>process-classes</tt>.</li>
79       </ul>
80       
81 <div class="section">
82 <h3>Optional Parameters<a name="Optional_Parameters"></a></h3>
83         
84 <table class="bodyTable" border="0">
85           
86 <tr class="a">
87             
88 <th>Name</th>
89             
90 <th>Type</th>
91             
92 <th>Since</th>
93             
94 <th>Description</th>
95           </tr>
96           
97 <tr class="b">
98             
99 <td><b><a href="#delimiter">delimiter</a></b></td>
100             
101 <td><tt>String</tt></td>
102             
103 <td><tt>1.0</tt></td>
104             
105 <td>Delimiter in output-file.<br /><b>Default value is</b>: <tt>;</tt>.<br /><b>User property is</b>: <tt>hibernate.export.schema.delimiter</tt>.</td>
106           </tr>
107           
108 <tr class="a">
109             
110 <td><b><a href="#driverClassName">driverClassName</a></b></td>
111             
112 <td><tt>String</tt></td>
113             
114 <td><tt>1.0</tt></td>
115             
116 <td>SQL-Driver name.<br /><b>User property is</b>: <tt>hibernate.connection.driver_class</tt>.</td>
117           </tr>
118           
119 <tr class="b">
120             
121 <td><b><a href="#envers">envers</a></b></td>
122             
123 <td><tt>boolean</tt></td>
124             
125 <td><tt>1.0.3</tt></td>
126             
127 <td>Generate envers schema for auditing tables.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>hibernate.export.envers</tt>.</td>
128           </tr>
129           
130 <tr class="a">
131             
132 <td><b><a href="#force">force</a></b></td>
133             
134 <td><tt>boolean</tt></td>
135             
136 <td><tt>1.0</tt></td>
137             
138 <td>Force execution 
139
140 <p>Force execution, even if no modified or newly added annotated
141 classes where found and the dialect was not changed.</p>
142
143 <p><tt>skip</tt> takes precedence over <tt>force</tt>.</p><br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>hibernate.export.force</tt>.</td>
144           </tr>
145           
146 <tr class="b">
147             
148 <td><b><a href="#format">format</a></b></td>
149             
150 <td><tt>boolean</tt></td>
151             
152 <td><tt>1.0</tt></td>
153             
154 <td>Format output-file.<br /><b>Default value is</b>: <tt>true</tt>.<br /><b>User property is</b>: <tt>hibernate.export.schema.format</tt>.</td>
155           </tr>
156           
157 <tr class="a">
158             
159 <td><b><a href="#hibernateDialect">hibernateDialect</a></b></td>
160             
161 <td><tt>String</tt></td>
162             
163 <td><tt>1.0</tt></td>
164             
165 <td>Hibernate dialect.<br /><b>User property is</b>: <tt>hibernate.dialect</tt>.</td>
166           </tr>
167           
168 <tr class="b">
169             
170 <td><b><a href="#hibernateMapping">hibernateMapping</a></b></td>
171             
172 <td><tt>String</tt></td>
173             
174 <td><tt>1.0.2</tt></td>
175             
176 <td>List of Hibernate-Mapping-Files (XML). Multiple files can be
177 separated with white-spaces and/or commas.<br /><b>User property is</b>: <tt>hibernate.mapping</tt>.</td>
178           </tr>
179           
180 <tr class="a">
181             
182 <td><b><a href="#hibernateNamingStrategy">hibernateNamingStrategy</a></b></td>
183             
184 <td><tt>String</tt></td>
185             
186 <td><tt>1.0.2</tt></td>
187             
188 <td>Hibernate Naming Strategy<br /><b>User property is</b>: <tt>hibernate.ejb.naming_strategy</tt>.</td>
189           </tr>
190           
191 <tr class="b">
192             
193 <td><b><a href="#hibernateProperties">hibernateProperties</a></b></td>
194             
195 <td><tt>String</tt></td>
196             
197 <td><tt>1.0</tt></td>
198             
199 <td>Path to Hibernate configuration file.<br /><b>Default value is</b>: <tt>${project.build.outputDirectory}/hibernate.properties</tt>.<br /></td>
200           </tr>
201           
202 <tr class="a">
203             
204 <td><b><a href="#outputDirectory">outputDirectory</a></b></td>
205             
206 <td><tt>String</tt></td>
207             
208 <td><tt>1.0</tt></td>
209             
210 <td>Classes-Directory to scan. 
211
212 <p>This parameter defaults to the maven build-output-directory for
213 classes. Additonally, all dependencies are scanned for annotated
214 classes.</p><br /><b>User property is</b>: <tt>project.build.outputDirectory</tt>.</td>
215           </tr>
216           
217 <tr class="b">
218             
219 <td><b><a href="#outputFile">outputFile</a></b></td>
220             
221 <td><tt>String</tt></td>
222             
223 <td><tt>1.0</tt></td>
224             
225 <td>Output file.<br /><b>Default value is</b>: <tt>${project.build.directory}/schema.sql</tt>.<br /><b>User property is</b>: <tt>hibernate.export.schema.filename</tt>.</td>
226           </tr>
227           
228 <tr class="a">
229             
230 <td><b><a href="#password">password</a></b></td>
231             
232 <td><tt>String</tt></td>
233             
234 <td><tt>1.0</tt></td>
235             
236 <td>Database password<br /><b>User property is</b>: <tt>hibernate.connection.password</tt>.</td>
237           </tr>
238           
239 <tr class="b">
240             
241 <td><b><a href="#scanDependencies">scanDependencies</a></b></td>
242             
243 <td><tt>String</tt></td>
244             
245 <td><tt>1.0.3</tt></td>
246             
247 <td>Dependency-Scopes, that should be scanned for annotated classes. 
248
249 <p>By default, only dependencies in the scope <tt>compile</tt>
250 are scanned for annotated classes. Multiple scopes can be seperated
251 by white space or commas.</p>
252
253 <p>The plugin does not scan for annotated classes in transitive
254 dependencies. If some of your annotated classes are hidden in a
255 transitive dependency, you can simply add that dependency
256 explicitly.</p><br /><b>Default value is</b>: <tt>compile</tt>.<br /><b>User property is</b>: <tt>hibernate.export.scan_dependencies</tt>.</td>
257           </tr>
258           
259 <tr class="a">
260             
261 <td><b><a href="#scanTestClasses">scanTestClasses</a></b></td>
262             
263 <td><tt>boolean</tt></td>
264             
265 <td><tt>1.0.1</tt></td>
266             
267 <td>Wether to scan test-classes too, or not. 
268
269 <p>If this parameter is set to <tt>true</tt> the test-classes
270 of the artifact will be scanned for hibernate-annotated classes
271 additionally.</p><br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>hibernate.export.scan_testclasses</tt>.</td>
272           </tr>
273           
274 <tr class="b">
275             
276 <td><b><a href="#skip">skip</a></b></td>
277             
278 <td><tt>boolean</tt></td>
279             
280 <td><tt>1.0</tt></td>
281             
282 <td>Skip execution 
283
284 <p>If set to <tt>true</tt>, the execution is skipped.</p>
285
286 <p>A skipped excecution is signaled via the maven-property
287 <tt>${hibernate.export.skipped}</tt>.</p>
288
289 <p>The excecution is skipped automatically, if no modified or newly
290 added annotated classes are found and the dialect was not
291 changed.</p><br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>maven.test.skip</tt>.</td>
292           </tr>
293           
294 <tr class="a">
295             
296 <td><b><a href="#target">target</a></b></td>
297             
298 <td><tt>String</tt></td>
299             
300 <td><tt>1.0</tt></td>
301             
302 <td>Target of execution: 
303
304 <ul>
305
306 <li><b>NONE</b> only export schema to SQL-script (forces
307 excecution, signals skip)</li>
308
309 <li><b>EXPORT</b> create database
310 (<b>DEFAULT!</b>). forces excecution, signals skip)</li>
311
312 <li><b>SCRIPT</b> export schema to SQL-script and print
313 it to STDOUT</li>
314
315 <li><b>BOTH</b></li>
316 </ul>
317 A databaseconnection is only needed for EXPORT and BOTH, but a
318 Hibernate-Dialect must always be choosen.<br /><b>Default value is</b>: <tt>EXPORT</tt>.<br /><b>User property is</b>: <tt>hibernate.export.target</tt>.</td>
319           </tr>
320           
321 <tr class="b">
322             
323 <td><b><a href="#testOutputDirectory">testOutputDirectory</a></b></td>
324             
325 <td><tt>String</tt></td>
326             
327 <td><tt>1.0.2</tt></td>
328             
329 <td>Test-Classes-Directory to scan. 
330
331 <p>This parameter defaults to the maven build-output-directory for
332 test-classes.</p>
333
334 <p>This parameter is only used, when <tt>scanTestClasses</tt>
335 is set to <tt>true</tt>!</p><br /><b>User property is</b>: <tt>project.build.testOutputDirectory</tt>.</td>
336           </tr>
337           
338 <tr class="a">
339             
340 <td><b><a href="#type">type</a></b></td>
341             
342 <td><tt>String</tt></td>
343             
344 <td><tt>1.0</tt></td>
345             
346 <td>Type of execution. 
347
348 <ul>
349
350 <li><b>NONE</b> do nothing - just validate the
351 configuration</li>
352
353 <li><b>CREATE</b> create database-schema</li>
354
355 <li><b>DROP</b> drop database-schema</li>
356
357 <li><b>BOTH</b> (<b>DEFAULT!</b>)</li>
358 </ul>
359 If NONE is choosen, no databaseconnection is needed.<br /><b>Default value is</b>: <tt>BOTH</tt>.<br /><b>User property is</b>: <tt>hibernate.export.type</tt>.</td>
360           </tr>
361           
362 <tr class="b">
363             
364 <td><b><a href="#url">url</a></b></td>
365             
366 <td><tt>String</tt></td>
367             
368 <td><tt>1.0</tt></td>
369             
370 <td>Database URL.<br /><b>User property is</b>: <tt>hibernate.connection.url</tt>.</td>
371           </tr>
372           
373 <tr class="a">
374             
375 <td><b><a href="#username">username</a></b></td>
376             
377 <td><tt>String</tt></td>
378             
379 <td><tt>1.0</tt></td>
380             
381 <td>Database username<br /><b>User property is</b>: <tt>hibernate.connection.username</tt>.</td>
382           </tr>
383         </table>
384       </div>
385       
386 <div class="section">
387 <h3>Parameter Details<a name="Parameter_Details"></a></h3>
388         
389 <p><b><a name="delimiter">delimiter</a>:</b></p>
390         
391 <div>Delimiter in output-file.</div>
392         
393 <ul>
394           
395 <li><b>Type</b>: <tt>java.lang.String</tt></li>
396           
397 <li><b>Since</b>: <tt>1.0</tt></li>
398           
399 <li><b>Required</b>: <tt>No</tt></li>
400           
401 <li><b>User Property</b>: <tt>hibernate.export.schema.delimiter</tt></li>
402           
403 <li><b>Default</b>: <tt>;</tt></li>
404         </ul><hr />
405 <p><b><a name="driverClassName">driverClassName</a>:</b></p>
406         
407 <div>SQL-Driver name.</div>
408         
409 <ul>
410           
411 <li><b>Type</b>: <tt>java.lang.String</tt></li>
412           
413 <li><b>Since</b>: <tt>1.0</tt></li>
414           
415 <li><b>Required</b>: <tt>No</tt></li>
416           
417 <li><b>User Property</b>: <tt>hibernate.connection.driver_class</tt></li>
418         </ul><hr />
419 <p><b><a name="envers">envers</a>:</b></p>
420         
421 <div>Generate envers schema for auditing tables.</div>
422         
423 <ul>
424           
425 <li><b>Type</b>: <tt>boolean</tt></li>
426           
427 <li><b>Since</b>: <tt>1.0.3</tt></li>
428           
429 <li><b>Required</b>: <tt>No</tt></li>
430           
431 <li><b>User Property</b>: <tt>hibernate.export.envers</tt></li>
432           
433 <li><b>Default</b>: <tt>false</tt></li>
434         </ul><hr />
435 <p><b><a name="force">force</a>:</b></p>
436         
437 <div>Force execution 
438
439 <p>Force execution, even if no modified or newly added annotated
440 classes where found and the dialect was not changed.</p>
441
442 <p><tt>skip</tt> takes precedence over <tt>force</tt>.</p></div>
443         
444 <ul>
445           
446 <li><b>Type</b>: <tt>boolean</tt></li>
447           
448 <li><b>Since</b>: <tt>1.0</tt></li>
449           
450 <li><b>Required</b>: <tt>No</tt></li>
451           
452 <li><b>User Property</b>: <tt>hibernate.export.force</tt></li>
453           
454 <li><b>Default</b>: <tt>false</tt></li>
455         </ul><hr />
456 <p><b><a name="format">format</a>:</b></p>
457         
458 <div>Format output-file.</div>
459         
460 <ul>
461           
462 <li><b>Type</b>: <tt>boolean</tt></li>
463           
464 <li><b>Since</b>: <tt>1.0</tt></li>
465           
466 <li><b>Required</b>: <tt>No</tt></li>
467           
468 <li><b>User Property</b>: <tt>hibernate.export.schema.format</tt></li>
469           
470 <li><b>Default</b>: <tt>true</tt></li>
471         </ul><hr />
472 <p><b><a name="hibernateDialect">hibernateDialect</a>:</b></p>
473         
474 <div>Hibernate dialect.</div>
475         
476 <ul>
477           
478 <li><b>Type</b>: <tt>java.lang.String</tt></li>
479           
480 <li><b>Since</b>: <tt>1.0</tt></li>
481           
482 <li><b>Required</b>: <tt>No</tt></li>
483           
484 <li><b>User Property</b>: <tt>hibernate.dialect</tt></li>
485         </ul><hr />
486 <p><b><a name="hibernateMapping">hibernateMapping</a>:</b></p>
487         
488 <div>List of Hibernate-Mapping-Files (XML). Multiple files can be
489 separated with white-spaces and/or commas.</div>
490         
491 <ul>
492           
493 <li><b>Type</b>: <tt>java.lang.String</tt></li>
494           
495 <li><b>Since</b>: <tt>1.0.2</tt></li>
496           
497 <li><b>Required</b>: <tt>No</tt></li>
498           
499 <li><b>User Property</b>: <tt>hibernate.mapping</tt></li>
500         </ul><hr />
501 <p><b><a name="hibernateNamingStrategy">hibernateNamingStrategy</a>:</b></p>
502         
503 <div>Hibernate Naming Strategy</div>
504         
505 <ul>
506           
507 <li><b>Type</b>: <tt>java.lang.String</tt></li>
508           
509 <li><b>Since</b>: <tt>1.0.2</tt></li>
510           
511 <li><b>Required</b>: <tt>No</tt></li>
512           
513 <li><b>User Property</b>: <tt>hibernate.ejb.naming_strategy</tt></li>
514         </ul><hr />
515 <p><b><a name="hibernateProperties">hibernateProperties</a>:</b></p>
516         
517 <div>Path to Hibernate configuration file.</div>
518         
519 <ul>
520           
521 <li><b>Type</b>: <tt>java.lang.String</tt></li>
522           
523 <li><b>Since</b>: <tt>1.0</tt></li>
524           
525 <li><b>Required</b>: <tt>No</tt></li>
526           
527 <li><b>Default</b>: <tt>${project.build.outputDirectory}/hibernate.properties</tt></li>
528         </ul><hr />
529 <p><b><a name="outputDirectory">outputDirectory</a>:</b></p>
530         
531 <div>Classes-Directory to scan. 
532
533 <p>This parameter defaults to the maven build-output-directory for
534 classes. Additonally, all dependencies are scanned for annotated
535 classes.</p></div>
536         
537 <ul>
538           
539 <li><b>Type</b>: <tt>java.lang.String</tt></li>
540           
541 <li><b>Since</b>: <tt>1.0</tt></li>
542           
543 <li><b>Required</b>: <tt>No</tt></li>
544           
545 <li><b>User Property</b>: <tt>project.build.outputDirectory</tt></li>
546         </ul><hr />
547 <p><b><a name="outputFile">outputFile</a>:</b></p>
548         
549 <div>Output file.</div>
550         
551 <ul>
552           
553 <li><b>Type</b>: <tt>java.lang.String</tt></li>
554           
555 <li><b>Since</b>: <tt>1.0</tt></li>
556           
557 <li><b>Required</b>: <tt>No</tt></li>
558           
559 <li><b>User Property</b>: <tt>hibernate.export.schema.filename</tt></li>
560           
561 <li><b>Default</b>: <tt>${project.build.directory}/schema.sql</tt></li>
562         </ul><hr />
563 <p><b><a name="password">password</a>:</b></p>
564         
565 <div>Database password</div>
566         
567 <ul>
568           
569 <li><b>Type</b>: <tt>java.lang.String</tt></li>
570           
571 <li><b>Since</b>: <tt>1.0</tt></li>
572           
573 <li><b>Required</b>: <tt>No</tt></li>
574           
575 <li><b>User Property</b>: <tt>hibernate.connection.password</tt></li>
576         </ul><hr />
577 <p><b><a name="scanDependencies">scanDependencies</a>:</b></p>
578         
579 <div>Dependency-Scopes, that should be scanned for annotated classes. 
580
581 <p>By default, only dependencies in the scope <tt>compile</tt>
582 are scanned for annotated classes. Multiple scopes can be seperated
583 by white space or commas.</p>
584
585 <p>The plugin does not scan for annotated classes in transitive
586 dependencies. If some of your annotated classes are hidden in a
587 transitive dependency, you can simply add that dependency
588 explicitly.</p></div>
589         
590 <ul>
591           
592 <li><b>Type</b>: <tt>java.lang.String</tt></li>
593           
594 <li><b>Since</b>: <tt>1.0.3</tt></li>
595           
596 <li><b>Required</b>: <tt>No</tt></li>
597           
598 <li><b>User Property</b>: <tt>hibernate.export.scan_dependencies</tt></li>
599           
600 <li><b>Default</b>: <tt>compile</tt></li>
601         </ul><hr />
602 <p><b><a name="scanTestClasses">scanTestClasses</a>:</b></p>
603         
604 <div>Wether to scan test-classes too, or not. 
605
606 <p>If this parameter is set to <tt>true</tt> the test-classes
607 of the artifact will be scanned for hibernate-annotated classes
608 additionally.</p></div>
609         
610 <ul>
611           
612 <li><b>Type</b>: <tt>boolean</tt></li>
613           
614 <li><b>Since</b>: <tt>1.0.1</tt></li>
615           
616 <li><b>Required</b>: <tt>No</tt></li>
617           
618 <li><b>User Property</b>: <tt>hibernate.export.scan_testclasses</tt></li>
619           
620 <li><b>Default</b>: <tt>false</tt></li>
621         </ul><hr />
622 <p><b><a name="skip">skip</a>:</b></p>
623         
624 <div>Skip execution 
625
626 <p>If set to <tt>true</tt>, the execution is skipped.</p>
627
628 <p>A skipped excecution is signaled via the maven-property
629 <tt>${hibernate.export.skipped}</tt>.</p>
630
631 <p>The excecution is skipped automatically, if no modified or newly
632 added annotated classes are found and the dialect was not
633 changed.</p></div>
634         
635 <ul>
636           
637 <li><b>Type</b>: <tt>boolean</tt></li>
638           
639 <li><b>Since</b>: <tt>1.0</tt></li>
640           
641 <li><b>Required</b>: <tt>No</tt></li>
642           
643 <li><b>User Property</b>: <tt>maven.test.skip</tt></li>
644           
645 <li><b>Default</b>: <tt>false</tt></li>
646         </ul><hr />
647 <p><b><a name="target">target</a>:</b></p>
648         
649 <div>Target of execution: 
650
651 <ul>
652
653 <li><b>NONE</b> only export schema to SQL-script (forces
654 excecution, signals skip)</li>
655
656 <li><b>EXPORT</b> create database
657 (<b>DEFAULT!</b>). forces excecution, signals skip)</li>
658
659 <li><b>SCRIPT</b> export schema to SQL-script and print
660 it to STDOUT</li>
661
662 <li><b>BOTH</b></li>
663 </ul>
664 A databaseconnection is only needed for EXPORT and BOTH, but a
665 Hibernate-Dialect must always be choosen.</div>
666         
667 <ul>
668           
669 <li><b>Type</b>: <tt>java.lang.String</tt></li>
670           
671 <li><b>Since</b>: <tt>1.0</tt></li>
672           
673 <li><b>Required</b>: <tt>No</tt></li>
674           
675 <li><b>User Property</b>: <tt>hibernate.export.target</tt></li>
676           
677 <li><b>Default</b>: <tt>EXPORT</tt></li>
678         </ul><hr />
679 <p><b><a name="testOutputDirectory">testOutputDirectory</a>:</b></p>
680         
681 <div>Test-Classes-Directory to scan. 
682
683 <p>This parameter defaults to the maven build-output-directory for
684 test-classes.</p>
685
686 <p>This parameter is only used, when <tt>scanTestClasses</tt>
687 is set to <tt>true</tt>!</p></div>
688         
689 <ul>
690           
691 <li><b>Type</b>: <tt>java.lang.String</tt></li>
692           
693 <li><b>Since</b>: <tt>1.0.2</tt></li>
694           
695 <li><b>Required</b>: <tt>No</tt></li>
696           
697 <li><b>User Property</b>: <tt>project.build.testOutputDirectory</tt></li>
698         </ul><hr />
699 <p><b><a name="type">type</a>:</b></p>
700         
701 <div>Type of execution. 
702
703 <ul>
704
705 <li><b>NONE</b> do nothing - just validate the
706 configuration</li>
707
708 <li><b>CREATE</b> create database-schema</li>
709
710 <li><b>DROP</b> drop database-schema</li>
711
712 <li><b>BOTH</b> (<b>DEFAULT!</b>)</li>
713 </ul>
714 If NONE is choosen, no databaseconnection is needed.</div>
715         
716 <ul>
717           
718 <li><b>Type</b>: <tt>java.lang.String</tt></li>
719           
720 <li><b>Since</b>: <tt>1.0</tt></li>
721           
722 <li><b>Required</b>: <tt>No</tt></li>
723           
724 <li><b>User Property</b>: <tt>hibernate.export.type</tt></li>
725           
726 <li><b>Default</b>: <tt>BOTH</tt></li>
727         </ul><hr />
728 <p><b><a name="url">url</a>:</b></p>
729         
730 <div>Database URL.</div>
731         
732 <ul>
733           
734 <li><b>Type</b>: <tt>java.lang.String</tt></li>
735           
736 <li><b>Since</b>: <tt>1.0</tt></li>
737           
738 <li><b>Required</b>: <tt>No</tt></li>
739           
740 <li><b>User Property</b>: <tt>hibernate.connection.url</tt></li>
741         </ul><hr />
742 <p><b><a name="username">username</a>:</b></p>
743         
744 <div>Database username</div>
745         
746 <ul>
747           
748 <li><b>Type</b>: <tt>java.lang.String</tt></li>
749           
750 <li><b>Since</b>: <tt>1.0</tt></li>
751           
752 <li><b>Required</b>: <tt>No</tt></li>
753           
754 <li><b>User Property</b>: <tt>hibernate.connection.username</tt></li>
755         </ul>
756       </div>
757     </div>
758   
759
760           </section>
761           <div class="marginal">
762             <nav id="nav">
763               <hr />
764               <a id="navigation"></a>
765               <h2 class="nav menu">Section-Menu</h2>
766               <ul id="menu">
767                 <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
768                 <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
769               </ul>
770               <h2 class="nav submenu">
771                 <span class="s">Submenu for section</span>
772                 <a class="s selected" href="/projects.html">Projects</a>
773               </h2>
774               <ul id="submenu" class="s">
775                                                                       <li class="s sub">
776                                               <a class="s selected" href="./index.html">Hibernate 4 Maven Plugin</a>
777                                             <ul class="s active">
778                                                                                                                                                                                                                                                                           <li class="s">
779                     <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
780                 </li>
781                                                                                                                             <li class="s">
782               <strong class="s">Parameter Documentation</strong>
783                 </li>
784                                                                                                                       <li class="s">
785                     <a href="debugging.html" class="s" title="Enable Debug-Output">Enable Debug-Output</a>
786                 </li>
787                                                                                                                       <li class="s">
788                     <a href="skip.html" class="s" title="Skipping Execution">Skipping Execution</a>
789                 </li>
790                                                                                                                       <li class="s">
791                     <a href="force.html" class="s" title="Force Exceution">Force Exceution</a>
792                 </li>
793                                                                                                                       <li class="s">
794                     <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
795                 </li>
796                                                                                                                                                                                                                                                                                                                                                                   <li class="s sub">
797                     <a href="project-info.html" class="s" title="Project Information">Project Information</a>
798                 </li>
799                                                                                                                                                                                                       <li class="s sub">
800                     <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
801                 </li>
802                                                                                                       </ul>
803                     </li>
804                                                 </ul>
805               <hr />
806             </nav>
807             <p>
808               <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
809                 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
810               </a>
811             </p>
812           </div>
813         </div>
814       </div>
815       <footer id="footer">
816         <hr />
817         <ul id="footerlinks">
818           <li class="f" id="copyright">&#xa9; <strong>mo</strong>             2013
819       </li>
820         </ul>
821       </footer>
822     </div>
823         <script type="text/javascript"><!--//--><![CDATA[//><!--
824       var _gaq = _gaq || [];
825       _gaq.push(['_setAccount', 'UA-571104-3']);
826       _gaq.push(['_trackPageview']);
827       (function() {
828         var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
829         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
830         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
831       })();
832     //--><!]]>
833       </body>
834 </html>