3 <!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-11-05 -->
27 <!-- NEW PAGE - - - - - uri: integration.html -->
39 <!-- NEW PAGE - - - - - uri: dependencies.html -->
51 <!-- NEW PAGE - - - - - uri: dependency-info.html -->
63 <!-- NEW PAGE - - - - - uri: distribution-management.html -->
75 <!-- NEW PAGE - - - - - uri: index.html -->
87 <!-- NEW PAGE - - - - - uri: license.html -->
99 <!-- NEW PAGE - - - - - uri: plugin-management.html -->
111 <!-- NEW PAGE - - - - - uri: plugins.html -->
123 <!-- NEW PAGE - - - - - uri: team-list.html -->
135 <!-- NEW PAGE - - - - - uri: source-repository.html -->
147 <!-- NEW PAGE - - - - - uri: project-summary.html -->
154 <!-- NEW PAGE - - - - - uri: project-info.html -->
171 <!-- NEW PAGE - - - - - uri: testapidocs/index.html -->
183 <!-- NEW PAGE - - - - - uri: apidocs/index.html -->
195 <!-- NEW PAGE - - - - - uri: xref/index.html -->
207 <!-- NEW PAGE - - - - - uri: xref-test/index.html -->
219 <!-- NEW PAGE - - - - - uri: pmd.html -->
231 <!-- NEW PAGE - - - - - uri: plugin-info.html -->
238 <!-- NEW PAGE - - - - - uri: project-reports.html -->
243 <!-- DONE WITH MENUE - - $page.name-->
258 <!-- OVERWRITING PAGE - uri: index.html -->
270 <!-- NEW PAGE - - - - - uri: configuration.html -->
282 <!-- NEW PAGE - - - - - uri: export-mojo.html -->
294 <!-- NEW PAGE - - - - - uri: debugging.html -->
306 <!-- NEW PAGE - - - - - uri: skip.html -->
318 <!-- NEW PAGE - - - - - uri: force.html -->
330 <!-- NEW PAGE - - - - - uri: pitfalls.html -->
342 <!-- OVERWRITING PAGE - uri: project-info.html -->
354 <!-- OVERWRITING PAGE - uri: project-reports.html -->
359 <!-- DONE WITH MENUE - - (no name)-->
363 <!-- name: Parameter Documentation -->
364 <!-- title: Hibernate 4 Maven Plugin – hibernate4:export -->
365 <!-- short title: hibernate4:export -->
366 <!-- current page: export-mojo.html -->
367 <!-- path: /hibernate-maven-plugin/ -->
368 <!-- crumbs: {"uri":"/projects.html","name":"Projects"} -->
369 <!-- pages: {integration.html={name=CI Management, uri=integration.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=integration.html, name=CI Management}]}, dependencies.html={name=Dependencies, uri=dependencies.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=dependencies.html, name=Dependencies}]}, dependency-info.html={name=Dependency Information, uri=dependency-info.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=dependency-info.html, name=Dependency Information}]}, distribution-management.html={name=Distribution Management, uri=distribution-management.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=distribution-management.html, name=Distribution Management}]}, index.html={name=Overview, uri=index.html, childs={index.html=Overview, configuration.html=Configuration Examples, export-mojo.html=Parameter Documentation, debugging.html=Enable Debug-Output, skip.html=Skipping Execution, force.html=Force Exceution, pitfalls.html=Known Pitfalls (FAQ), project-info.html=Project Information, project-reports.html=Project Reports}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=index.html, name=Overview}]}, license.html={name=Licenses, uri=license.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=license.html, name=Licenses}]}, plugin-management.html={name=Plugin Management, uri=plugin-management.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=plugin-management.html, name=Plugin Management}]}, plugins.html={name=Plugins, uri=plugins.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=plugins.html, name=Plugins}]}, team-list.html={name=Team, uri=team-list.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=team-list.html, name=Team}]}, source-repository.html={name=Source Code Management, uri=source-repository.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=source-repository.html, name=Source Code Management}]}, project-summary.html={name=Summary, uri=project-summary.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}, {uri=project-summary.html, name=Summary}]}, project-info.html={name=Project Information, uri=project-info.html, childs={integration.html=CI Management, dependencies.html=Dependencies, dependency-info.html=Dependency Information, distribution-management.html=Distribution Management, index.html=About, license.html=Licenses, plugin-management.html=Plugin Management, plugins.html=Plugins, team-list.html=Team, source-repository.html=Source Code Management, project-summary.html=Summary}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-info.html, name=Project Information}]}, testapidocs/index.html={name=Test JavaDocs, uri=testapidocs/index.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=testapidocs/index.html, name=Test JavaDocs}]}, apidocs/index.html={name=JavaDocs, uri=apidocs/index.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=apidocs/index.html, name=JavaDocs}]}, xref/index.html={name=Source Xref, uri=xref/index.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=xref/index.html, name=Source Xref}]}, xref-test/index.html={name=Test Source Xref, uri=xref-test/index.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=xref-test/index.html, name=Test Source Xref}]}, pmd.html={name=PMD, uri=pmd.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=pmd.html, name=PMD}]}, plugin-info.html={name=Plugin Documentation, uri=plugin-info.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=plugin-info.html, name=Plugin Documentation}]}, project-reports.html={name=Project Reports, uri=project-reports.html, childs={testapidocs/index.html=Test JavaDocs, apidocs/index.html=JavaDocs, xref/index.html=Source Xref, xref-test/index.html=Test Source Xref, pmd.html=PMD, plugin-info.html=Plugin Documentation}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}]}, configuration.html={name=Configuration Examples, uri=configuration.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=configuration.html, name=Configuration Examples}]}, export-mojo.html={name=Parameter Documentation, uri=export-mojo.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=export-mojo.html, name=Parameter Documentation}]}, debugging.html={name=Enable Debug-Output, uri=debugging.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=debugging.html, name=Enable Debug-Output}]}, skip.html={name=Skipping Execution, uri=skip.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=skip.html, name=Skipping Execution}]}, force.html={name=Force Exceution, uri=force.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=force.html, name=Force Exceution}]}, pitfalls.html={name=Known Pitfalls (FAQ), uri=pitfalls.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=pitfalls.html, name=Known Pitfalls (FAQ)}]}} -->
374 xmlns="http://www.w3.org/1999/xhtml"
375 xmlns:layout="http://www.thymeleaf.org"
376 layout:decorator="templates/layout"
378 uri='/hibernate-maven-plugin/export-mojo.html',
379 json='MERGE:{"pages":{"/hibernate-maven-plugin/integration.html":{"name":"CI Management","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/integration.html","name":"CI Management"}]},"/hibernate-maven-plugin/dependencies.html":{"name":"Dependencies","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/dependencies.html","name":"Dependencies"}]},"/hibernate-maven-plugin/dependency-info.html":{"name":"Dependency Information","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/dependency-info.html","name":"Dependency Information"}]},"/hibernate-maven-plugin/distribution-management.html":{"name":"Distribution Management","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/distribution-management.html","name":"Distribution Management"}]},"/hibernate-maven-plugin/index.html":{"name":"Overview","childs":{"/hibernate-maven-plugin/index.html":"Overview","/hibernate-maven-plugin/configuration.html":"Configuration Examples","/hibernate-maven-plugin/export-mojo.html":"Parameter Documentation","/hibernate-maven-plugin/debugging.html":"Enable Debug-Output","/hibernate-maven-plugin/skip.html":"Skipping Execution","/hibernate-maven-plugin/force.html":"Force Exceution","/hibernate-maven-plugin/pitfalls.html":"Known Pitfalls (FAQ)","/hibernate-maven-plugin/project-info.html":"Project Information","/hibernate-maven-plugin/project-reports.html":"Project Reports"},"crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/index.html","name":"Overview"}]},"/hibernate-maven-plugin/license.html":{"name":"Licenses","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/license.html","name":"Licenses"}]},"/hibernate-maven-plugin/plugin-management.html":{"name":"Plugin Management","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/plugin-management.html","name":"Plugin Management"}]},"/hibernate-maven-plugin/plugins.html":{"name":"Plugins","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/plugins.html","name":"Plugins"}]},"/hibernate-maven-plugin/team-list.html":{"name":"Team","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/team-list.html","name":"Team"}]},"/hibernate-maven-plugin/source-repository.html":{"name":"Source Code Management","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/source-repository.html","name":"Source Code Management"}]},"/hibernate-maven-plugin/project-summary.html":{"name":"Summary","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"},{"uri":"/hibernate-maven-plugin/project-summary.html","name":"Summary"}]},"/hibernate-maven-plugin/project-info.html":{"name":"Project Information","childs":{"/hibernate-maven-plugin/integration.html":"CI Management","/hibernate-maven-plugin/dependencies.html":"Dependencies","/hibernate-maven-plugin/dependency-info.html":"Dependency Information","/hibernate-maven-plugin/distribution-management.html":"Distribution Management","/hibernate-maven-plugin/index.html":"About","/hibernate-maven-plugin/license.html":"Licenses","/hibernate-maven-plugin/plugin-management.html":"Plugin Management","/hibernate-maven-plugin/plugins.html":"Plugins","/hibernate-maven-plugin/team-list.html":"Team","/hibernate-maven-plugin/source-repository.html":"Source Code Management","/hibernate-maven-plugin/project-summary.html":"Summary"},"crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-info.html","name":"Project Information"}]},"/hibernate-maven-plugin/testapidocs/index.html":{"name":"Test JavaDocs","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-reports.html","name":"Project Reports"},{"uri":"/hibernate-maven-plugin/testapidocs/index.html","name":"Test JavaDocs"}]},"/hibernate-maven-plugin/apidocs/index.html":{"name":"JavaDocs","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-reports.html","name":"Project Reports"},{"uri":"/hibernate-maven-plugin/apidocs/index.html","name":"JavaDocs"}]},"/hibernate-maven-plugin/xref/index.html":{"name":"Source Xref","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-reports.html","name":"Project Reports"},{"uri":"/hibernate-maven-plugin/xref/index.html","name":"Source Xref"}]},"/hibernate-maven-plugin/xref-test/index.html":{"name":"Test Source Xref","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-reports.html","name":"Project Reports"},{"uri":"/hibernate-maven-plugin/xref-test/index.html","name":"Test Source Xref"}]},"/hibernate-maven-plugin/pmd.html":{"name":"PMD","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-reports.html","name":"Project Reports"},{"uri":"/hibernate-maven-plugin/pmd.html","name":"PMD"}]},"/hibernate-maven-plugin/plugin-info.html":{"name":"Plugin Documentation","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-reports.html","name":"Project Reports"},{"uri":"/hibernate-maven-plugin/plugin-info.html","name":"Plugin Documentation"}]},"/hibernate-maven-plugin/project-reports.html":{"name":"Project Reports","childs":{"/hibernate-maven-plugin/testapidocs/index.html":"Test JavaDocs","/hibernate-maven-plugin/apidocs/index.html":"JavaDocs","/hibernate-maven-plugin/xref/index.html":"Source Xref","/hibernate-maven-plugin/xref-test/index.html":"Test Source Xref","/hibernate-maven-plugin/pmd.html":"PMD","/hibernate-maven-plugin/plugin-info.html":"Plugin Documentation"},"crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/project-reports.html","name":"Project Reports"}]},"/hibernate-maven-plugin/configuration.html":{"name":"Configuration Examples","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/configuration.html","name":"Configuration Examples"}]},"/hibernate-maven-plugin/export-mojo.html":{"name":"Parameter Documentation","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/export-mojo.html","name":"Parameter Documentation"}]},"/hibernate-maven-plugin/debugging.html":{"name":"Enable Debug-Output","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/debugging.html","name":"Enable Debug-Output"}]},"/hibernate-maven-plugin/skip.html":{"name":"Skipping Execution","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/skip.html","name":"Skipping Execution"}]},"/hibernate-maven-plugin/force.html":{"name":"Force Exceution","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/force.html","name":"Force Exceution"}]},"/hibernate-maven-plugin/pitfalls.html":{"name":"Known Pitfalls (FAQ)","crumbs":[{"uri":"/projects.html","name":"Projects"}#set( = ","){"uri":"/hibernate-maven-plugin/index.html","name":"Hibernate 4 Maven Plugin"},{"uri":"/hibernate-maven-plugin/pitfalls.html","name":"Known Pitfalls (FAQ)"}]}}}'
383 <title>Hibernate 4 Maven Plugin – hibernate4:export</title>
384 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
385 <link rel="canonical" href="/hibernate-maven-plugin/export-mojo.html"/>
391 <li><a href="index.html">Hibernate 4 Maven Plugin</a></li><li><a href="export-mojo.html">Parameter Documentation</a></li> </ol>
394 <article class="main" layout:fragment="maincontent">
397 <div class="section">
398 <h2><a name="hibernate4:export"></a>hibernate4:export</h2>
400 <p><b>Full name</b>:</p>
402 <p>de.juplo:hibernate4-maven-plugin:1.1.1:export</p>
404 <p><b>Description</b>:</p>
406 <div>Goal which extracts the hibernate-mapping-configuration and exports
407 an according SQL-database-schema.</div>
409 <p><b>Attributes</b>:</p>
413 <li>Requires a Maven project to be executed.</li>
415 <li>Requires dependency resolution of artifacts in scope: <tt>runtime</tt>.</li>
417 <li>The goal is thread-safe and supports parallel builds.</li>
419 <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>
422 <div class="section">
423 <h3><a name="Optional_Parameters"></a>Optional Parameters</h3>
425 <table class="bodyTable" border="0">
440 <td><b><a href="#delimiter">delimiter</a></b></td>
442 <td><tt>String</tt></td>
444 <td><tt>1.0</tt></td>
446 <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>
451 <td><b><a href="#driverClassName">driverClassName</a></b></td>
453 <td><tt>String</tt></td>
455 <td><tt>1.0</tt></td>
457 <td>SQL-Driver name.<br /><b>User property is</b>: <tt>hibernate.connection.driver_class</tt>.</td>
462 <td><b><a href="#envers">envers</a></b></td>
464 <td><tt>boolean</tt></td>
466 <td><tt>1.0.3</tt></td>
468 <td>Generate envers schema for auditing tables.<br /><b>Default value is</b>: <tt>true</tt>.<br /><b>User property is</b>: <tt>hibernate.export.envers</tt>.</td>
473 <td><b><a href="#force">force</a></b></td>
475 <td><tt>boolean</tt></td>
477 <td><tt>1.0</tt></td>
481 <p>Force execution, even if no modified or newly added annotated
482 classes where found and the dialect was not changed.</p>
484 <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>
489 <td><b><a href="#format">format</a></b></td>
491 <td><tt>boolean</tt></td>
493 <td><tt>1.0</tt></td>
495 <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>
500 <td><b><a href="#hibernateConfig">hibernateConfig</a></b></td>
502 <td><tt>String</tt></td>
504 <td><tt>1.1.0</tt></td>
506 <td>Path to Hibernate configuration file (.cfg.xml). Settings in this
507 file will overwrite settings in the properties file. If this
508 parameter is not set the plugin will try to load the configuration
509 from a file <tt>hibernate.cfg.xml</tt> on the classpath. The
510 test-classpath takes precedence.<br /></td>
515 <td><b><a href="#hibernateDialect">hibernateDialect</a></b></td>
517 <td><tt>String</tt></td>
519 <td><tt>1.0</tt></td>
521 <td>Hibernate dialect.<br /><b>User property is</b>: <tt>hibernate.dialect</tt>.</td>
526 <td><b><a href="#hibernateMapping">hibernateMapping</a></b></td>
528 <td><tt>String</tt></td>
530 <td><tt>1.0.2</tt></td>
532 <td>List of Hibernate-Mapping-Files (XML). Multiple files can be
533 separated with white-spaces and/or commas.<br /><b>User property is</b>: <tt>hibernate.mapping</tt>.</td>
538 <td><b><a href="#hibernateNamingStrategy">hibernateNamingStrategy</a></b></td>
540 <td><tt>String</tt></td>
542 <td><tt>1.0.2</tt></td>
544 <td>Hibernate Naming Strategy<br /><b>User property is</b>: <tt>hibernate.ejb.naming_strategy</tt>.</td>
549 <td><b><a href="#hibernateProperties">hibernateProperties</a></b></td>
551 <td><tt>String</tt></td>
553 <td><tt>1.0</tt></td>
555 <td>Path to Hibernate properties file. If this parameter is not set the
556 plugin will try to load the configuration from a file
557 <tt>hibernate.properties</tt> on the classpath. The
558 test-classpath takes precedence.<br /></td>
563 <td><b><a href="#outputDirectory">outputDirectory</a></b></td>
565 <td><tt>String</tt></td>
567 <td><tt>1.0</tt></td>
569 <td>Classes-Directory to scan.
571 <p>This parameter defaults to the maven build-output-directory for
572 classes. Additionally, all dependencies are scanned for annotated
573 classes.</p><br /><b>User property is</b>: <tt>project.build.outputDirectory</tt>.</td>
578 <td><b><a href="#outputFile">outputFile</a></b></td>
580 <td><tt>String</tt></td>
582 <td><tt>1.0</tt></td>
584 <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>
589 <td><b><a href="#password">password</a></b></td>
591 <td><tt>String</tt></td>
593 <td><tt>1.0</tt></td>
595 <td>Database password<br /><b>User property is</b>: <tt>hibernate.connection.password</tt>.</td>
600 <td><b><a href="#persistenceUnit">persistenceUnit</a></b></td>
602 <td><tt>String</tt></td>
604 <td><tt>1.1.0</tt></td>
606 <td>Name of the persistence-unit. If there is only one persistence-unit
607 available, that unit will be used automatically. Settings in this
608 file will overwrite settings in the properties or the configuration
614 <td><b><a href="#scanDependencies">scanDependencies</a></b></td>
616 <td><tt>String</tt></td>
618 <td><tt>1.0.3</tt></td>
620 <td>Dependency-Scopes, that should be scanned for annotated classes.
622 <p>By default, only dependencies in the scope <tt>compile</tt>
623 are scanned for annotated classes. Multiple scopes can be seperated
624 by white space or commas.</p>
626 <p>If you do not want any dependencies to be scanned for annotated
627 classes, set this parameter to <tt>none</tt>.</p>
629 <p>The plugin does not scan for annotated classes in transitive
630 dependencies. If some of your annotated classes are hidden in a
631 transitive dependency, you can simply add that dependency
632 explicitly.</p><br /><b>Default value is</b>: <tt>compile</tt>.<br /><b>User property is</b>: <tt>hibernate.export.scan_dependencies</tt>.</td>
637 <td><b><a href="#scanTestClasses">scanTestClasses</a></b></td>
639 <td><tt>boolean</tt></td>
641 <td><tt>1.0.1</tt></td>
643 <td>Whether to scan test-classes too, or not.
645 <p>If this parameter is set to <tt>true</tt> the test-classes
646 of the artifact will be scanned for hibernate-annotated classes
647 additionally.</p><br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>hibernate.export.scan_testclasses</tt>.</td>
652 <td><b><a href="#skip">skip</a></b></td>
654 <td><tt>boolean</tt></td>
656 <td><tt>1.0</tt></td>
660 <p>If set to <tt>true</tt>, the execution is skipped.</p>
662 <p>A skipped execution is signaled via the maven-property
663 <tt>${hibernate.export.skipped}</tt>.</p>
665 <p>The execution is skipped automatically, if no modified or newly
666 added annotated classes are found and the dialect was not
667 changed.</p><br /><b>Default value is</b>: <tt>${maven.test.skip}</tt>.<br /><b>User property is</b>: <tt>hibernate.skip</tt>.</td>
672 <td><b><a href="#target">target</a></b></td>
674 <td><tt>String</tt></td>
676 <td><tt>1.0</tt></td>
678 <td>Target of execution:
682 <li><b>NONE</b> only export schema to SQL-script (forces
683 execution, signals skip)</li>
685 <li><b>EXPORT</b> create database
686 (<b>DEFAULT!</b>). forces execution, signals skip)</li>
688 <li><b>SCRIPT</b> export schema to SQL-script and print
693 A database connection is only needed for EXPORT and BOTH, but a
694 Hibernate-Dialect must always be chosen.<br /><b>Default value is</b>: <tt>EXPORT</tt>.<br /><b>User property is</b>: <tt>hibernate.export.target</tt>.</td>
699 <td><b><a href="#testOutputDirectory">testOutputDirectory</a></b></td>
701 <td><tt>String</tt></td>
703 <td><tt>1.0.2</tt></td>
705 <td>Test-Classes-Directory to scan.
707 <p>This parameter defaults to the maven build-output-directory for
710 <p>This parameter is only used, when <tt>scanTestClasses</tt>
711 is set to <tt>true</tt>!</p><br /><b>User property is</b>: <tt>project.build.testOutputDirectory</tt>.</td>
716 <td><b><a href="#type">type</a></b></td>
718 <td><tt>String</tt></td>
720 <td><tt>1.0</tt></td>
722 <td>Type of execution.
726 <li><b>NONE</b> do nothing - just validate the
729 <li><b>CREATE</b> create database-schema</li>
731 <li><b>DROP</b> drop database-schema</li>
733 <li><b>BOTH</b> (<b>DEFAULT!</b>)</li>
735 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>
740 <td><b><a href="#url">url</a></b></td>
742 <td><tt>String</tt></td>
744 <td><tt>1.0</tt></td>
746 <td>Database URL.<br /><b>User property is</b>: <tt>hibernate.connection.url</tt>.</td>
751 <td><b><a href="#username">username</a></b></td>
753 <td><tt>String</tt></td>
755 <td><tt>1.0</tt></td>
757 <td>Database username<br /><b>User property is</b>: <tt>hibernate.connection.username</tt>.</td>
762 <div class="section">
763 <h3><a name="Parameter_Details"></a>Parameter Details</h3>
765 <p><b><a name="delimiter">delimiter</a>:</b></p>
767 <div>Delimiter in output-file.</div>
771 <li><b>Type</b>: <tt>java.lang.String</tt></li>
773 <li><b>Since</b>: <tt>1.0</tt></li>
775 <li><b>Required</b>: <tt>No</tt></li>
777 <li><b>User Property</b>: <tt>hibernate.export.schema.delimiter</tt></li>
779 <li><b>Default</b>: <tt>;</tt></li>
781 <p><b><a name="driverClassName">driverClassName</a>:</b></p>
783 <div>SQL-Driver name.</div>
787 <li><b>Type</b>: <tt>java.lang.String</tt></li>
789 <li><b>Since</b>: <tt>1.0</tt></li>
791 <li><b>Required</b>: <tt>No</tt></li>
793 <li><b>User Property</b>: <tt>hibernate.connection.driver_class</tt></li>
795 <p><b><a name="envers">envers</a>:</b></p>
797 <div>Generate envers schema for auditing tables.</div>
801 <li><b>Type</b>: <tt>boolean</tt></li>
803 <li><b>Since</b>: <tt>1.0.3</tt></li>
805 <li><b>Required</b>: <tt>No</tt></li>
807 <li><b>User Property</b>: <tt>hibernate.export.envers</tt></li>
809 <li><b>Default</b>: <tt>true</tt></li>
811 <p><b><a name="force">force</a>:</b></p>
815 <p>Force execution, even if no modified or newly added annotated
816 classes where found and the dialect was not changed.</p>
818 <p><tt>skip</tt> takes precedence over <tt>force</tt>.</p></div>
822 <li><b>Type</b>: <tt>boolean</tt></li>
824 <li><b>Since</b>: <tt>1.0</tt></li>
826 <li><b>Required</b>: <tt>No</tt></li>
828 <li><b>User Property</b>: <tt>hibernate.export.force</tt></li>
830 <li><b>Default</b>: <tt>false</tt></li>
832 <p><b><a name="format">format</a>:</b></p>
834 <div>Format output-file.</div>
838 <li><b>Type</b>: <tt>boolean</tt></li>
840 <li><b>Since</b>: <tt>1.0</tt></li>
842 <li><b>Required</b>: <tt>No</tt></li>
844 <li><b>User Property</b>: <tt>hibernate.export.schema.format</tt></li>
846 <li><b>Default</b>: <tt>true</tt></li>
848 <p><b><a name="hibernateConfig">hibernateConfig</a>:</b></p>
850 <div>Path to Hibernate configuration file (.cfg.xml). Settings in this
851 file will overwrite settings in the properties file. If this
852 parameter is not set the plugin will try to load the configuration
853 from a file <tt>hibernate.cfg.xml</tt> on the classpath. The
854 test-classpath takes precedence.</div>
858 <li><b>Type</b>: <tt>java.lang.String</tt></li>
860 <li><b>Since</b>: <tt>1.1.0</tt></li>
862 <li><b>Required</b>: <tt>No</tt></li>
864 <p><b><a name="hibernateDialect">hibernateDialect</a>:</b></p>
866 <div>Hibernate dialect.</div>
870 <li><b>Type</b>: <tt>java.lang.String</tt></li>
872 <li><b>Since</b>: <tt>1.0</tt></li>
874 <li><b>Required</b>: <tt>No</tt></li>
876 <li><b>User Property</b>: <tt>hibernate.dialect</tt></li>
878 <p><b><a name="hibernateMapping">hibernateMapping</a>:</b></p>
880 <div>List of Hibernate-Mapping-Files (XML). Multiple files can be
881 separated with white-spaces and/or commas.</div>
885 <li><b>Type</b>: <tt>java.lang.String</tt></li>
887 <li><b>Since</b>: <tt>1.0.2</tt></li>
889 <li><b>Required</b>: <tt>No</tt></li>
891 <li><b>User Property</b>: <tt>hibernate.mapping</tt></li>
893 <p><b><a name="hibernateNamingStrategy">hibernateNamingStrategy</a>:</b></p>
895 <div>Hibernate Naming Strategy</div>
899 <li><b>Type</b>: <tt>java.lang.String</tt></li>
901 <li><b>Since</b>: <tt>1.0.2</tt></li>
903 <li><b>Required</b>: <tt>No</tt></li>
905 <li><b>User Property</b>: <tt>hibernate.ejb.naming_strategy</tt></li>
907 <p><b><a name="hibernateProperties">hibernateProperties</a>:</b></p>
909 <div>Path to Hibernate properties file. If this parameter is not set the
910 plugin will try to load the configuration from a file
911 <tt>hibernate.properties</tt> on the classpath. The
912 test-classpath takes precedence.</div>
916 <li><b>Type</b>: <tt>java.lang.String</tt></li>
918 <li><b>Since</b>: <tt>1.0</tt></li>
920 <li><b>Required</b>: <tt>No</tt></li>
922 <p><b><a name="outputDirectory">outputDirectory</a>:</b></p>
924 <div>Classes-Directory to scan.
926 <p>This parameter defaults to the maven build-output-directory for
927 classes. Additionally, all dependencies are scanned for annotated
932 <li><b>Type</b>: <tt>java.lang.String</tt></li>
934 <li><b>Since</b>: <tt>1.0</tt></li>
936 <li><b>Required</b>: <tt>No</tt></li>
938 <li><b>User Property</b>: <tt>project.build.outputDirectory</tt></li>
940 <p><b><a name="outputFile">outputFile</a>:</b></p>
942 <div>Output file.</div>
946 <li><b>Type</b>: <tt>java.lang.String</tt></li>
948 <li><b>Since</b>: <tt>1.0</tt></li>
950 <li><b>Required</b>: <tt>No</tt></li>
952 <li><b>User Property</b>: <tt>hibernate.export.schema.filename</tt></li>
954 <li><b>Default</b>: <tt>${project.build.directory}/schema.sql</tt></li>
956 <p><b><a name="password">password</a>:</b></p>
958 <div>Database password</div>
962 <li><b>Type</b>: <tt>java.lang.String</tt></li>
964 <li><b>Since</b>: <tt>1.0</tt></li>
966 <li><b>Required</b>: <tt>No</tt></li>
968 <li><b>User Property</b>: <tt>hibernate.connection.password</tt></li>
970 <p><b><a name="persistenceUnit">persistenceUnit</a>:</b></p>
972 <div>Name of the persistence-unit. If there is only one persistence-unit
973 available, that unit will be used automatically. Settings in this
974 file will overwrite settings in the properties or the configuration
979 <li><b>Type</b>: <tt>java.lang.String</tt></li>
981 <li><b>Since</b>: <tt>1.1.0</tt></li>
983 <li><b>Required</b>: <tt>No</tt></li>
985 <p><b><a name="scanDependencies">scanDependencies</a>:</b></p>
987 <div>Dependency-Scopes, that should be scanned for annotated classes.
989 <p>By default, only dependencies in the scope <tt>compile</tt>
990 are scanned for annotated classes. Multiple scopes can be seperated
991 by white space or commas.</p>
993 <p>If you do not want any dependencies to be scanned for annotated
994 classes, set this parameter to <tt>none</tt>.</p>
996 <p>The plugin does not scan for annotated classes in transitive
997 dependencies. If some of your annotated classes are hidden in a
998 transitive dependency, you can simply add that dependency
999 explicitly.</p></div>
1003 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1005 <li><b>Since</b>: <tt>1.0.3</tt></li>
1007 <li><b>Required</b>: <tt>No</tt></li>
1009 <li><b>User Property</b>: <tt>hibernate.export.scan_dependencies</tt></li>
1011 <li><b>Default</b>: <tt>compile</tt></li>
1013 <p><b><a name="scanTestClasses">scanTestClasses</a>:</b></p>
1015 <div>Whether to scan test-classes too, or not.
1017 <p>If this parameter is set to <tt>true</tt> the test-classes
1018 of the artifact will be scanned for hibernate-annotated classes
1019 additionally.</p></div>
1023 <li><b>Type</b>: <tt>boolean</tt></li>
1025 <li><b>Since</b>: <tt>1.0.1</tt></li>
1027 <li><b>Required</b>: <tt>No</tt></li>
1029 <li><b>User Property</b>: <tt>hibernate.export.scan_testclasses</tt></li>
1031 <li><b>Default</b>: <tt>false</tt></li>
1033 <p><b><a name="skip">skip</a>:</b></p>
1037 <p>If set to <tt>true</tt>, the execution is skipped.</p>
1039 <p>A skipped execution is signaled via the maven-property
1040 <tt>${hibernate.export.skipped}</tt>.</p>
1042 <p>The execution is skipped automatically, if no modified or newly
1043 added annotated classes are found and the dialect was not
1048 <li><b>Type</b>: <tt>boolean</tt></li>
1050 <li><b>Since</b>: <tt>1.0</tt></li>
1052 <li><b>Required</b>: <tt>No</tt></li>
1054 <li><b>User Property</b>: <tt>hibernate.skip</tt></li>
1056 <li><b>Default</b>: <tt>${maven.test.skip}</tt></li>
1058 <p><b><a name="target">target</a>:</b></p>
1060 <div>Target of execution:
1064 <li><b>NONE</b> only export schema to SQL-script (forces
1065 execution, signals skip)</li>
1067 <li><b>EXPORT</b> create database
1068 (<b>DEFAULT!</b>). forces execution, signals skip)</li>
1070 <li><b>SCRIPT</b> export schema to SQL-script and print
1073 <li><b>BOTH</b></li>
1075 A database connection is only needed for EXPORT and BOTH, but a
1076 Hibernate-Dialect must always be chosen.</div>
1080 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1082 <li><b>Since</b>: <tt>1.0</tt></li>
1084 <li><b>Required</b>: <tt>No</tt></li>
1086 <li><b>User Property</b>: <tt>hibernate.export.target</tt></li>
1088 <li><b>Default</b>: <tt>EXPORT</tt></li>
1090 <p><b><a name="testOutputDirectory">testOutputDirectory</a>:</b></p>
1092 <div>Test-Classes-Directory to scan.
1094 <p>This parameter defaults to the maven build-output-directory for
1097 <p>This parameter is only used, when <tt>scanTestClasses</tt>
1098 is set to <tt>true</tt>!</p></div>
1102 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1104 <li><b>Since</b>: <tt>1.0.2</tt></li>
1106 <li><b>Required</b>: <tt>No</tt></li>
1108 <li><b>User Property</b>: <tt>project.build.testOutputDirectory</tt></li>
1110 <p><b><a name="type">type</a>:</b></p>
1112 <div>Type of execution.
1116 <li><b>NONE</b> do nothing - just validate the
1119 <li><b>CREATE</b> create database-schema</li>
1121 <li><b>DROP</b> drop database-schema</li>
1123 <li><b>BOTH</b> (<b>DEFAULT!</b>)</li>
1125 If NONE is choosen, no databaseconnection is needed.</div>
1129 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1131 <li><b>Since</b>: <tt>1.0</tt></li>
1133 <li><b>Required</b>: <tt>No</tt></li>
1135 <li><b>User Property</b>: <tt>hibernate.export.type</tt></li>
1137 <li><b>Default</b>: <tt>BOTH</tt></li>
1139 <p><b><a name="url">url</a>:</b></p>
1141 <div>Database URL.</div>
1145 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1147 <li><b>Since</b>: <tt>1.0</tt></li>
1149 <li><b>Required</b>: <tt>No</tt></li>
1151 <li><b>User Property</b>: <tt>hibernate.connection.url</tt></li>
1153 <p><b><a name="username">username</a>:</b></p>
1155 <div>Database username</div>
1159 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1161 <li><b>Since</b>: <tt>1.0</tt></li>
1163 <li><b>Required</b>: <tt>No</tt></li>
1165 <li><b>User Property</b>: <tt>hibernate.connection.username</tt></li>
1176 <li><a href="integration.html">CI Management</a></li><li><a href="dependencies.html">Dependencies</a></li><li><a href="dependency-info.html">Dependency Information</a></li><li><a href="distribution-management.html">Distribution Management</a></li><li><a href="index.html">Overview</a></li><li><a href="license.html">Licenses</a></li><li><a href="plugin-management.html">Plugin Management</a></li><li><a href="plugins.html">Plugins</a></li><li><a href="team-list.html">Team</a></li><li><a href="source-repository.html">Source Code Management</a></li><li><a href="project-summary.html">Summary</a></li><li><a href="project-info.html">Project Information</a></li><li><a href="testapidocs/index.html">Test JavaDocs</a></li><li><a href="apidocs/index.html">JavaDocs</a></li><li><a href="xref/index.html">Source Xref</a></li><li><a href="xref-test/index.html">Test Source Xref</a></li><li><a href="pmd.html">PMD</a></li><li><a href="plugin-info.html">Plugin Documentation</a></li><li><a href="project-reports.html">Project Reports</a></li><li><a href="configuration.html">Configuration Examples</a></li><li><a href="export-mojo.html">Parameter Documentation</a></li><li><a href="debugging.html">Enable Debug-Output</a></li><li><a href="skip.html">Skipping Execution</a></li><li><a href="force.html">Force Exceution</a></li><li><a href="pitfalls.html">Known Pitfalls (FAQ)</a></li> </ul>