1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
2 <!-- Generated by Apache Maven Doxia at Jan 15, 2013 -->
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
\r
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
\r
6 <title>Hibernate 4 Maven Plugin - </title>
\r
7 <style type="text/css" media="all">
\r
8 @import url("./css/maven-base.css");
\r
9 @import url("./css/maven-theme.css");
\r
10 @import url("./css/site.css");
\r
12 <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
\r
13 <meta name="Date-Revision-yyyymmdd" content="20130115" />
\r
14 <meta http-equiv="Content-Language" content="en" />
\r
16 <script type="text/javascript"><!--
18 var _gaq = _gaq || [];
19 _gaq.push(['_setAccount', 'UA-571104-3']);
20 _gaq.push(['_trackPageview']);
23 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
24 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
25 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
31 <body class="composite">
\r
33 <div id="bannerLeft">
\r
34 Hibernate 4 Maven Plugin
\r
40 <div id="breadcrumbs">
\r
44 <span id="publishDate">Last Published: 2013-01-15</span>
\r
45 | <span id="projectVersion">Version: 1.0.1</span>
\r
46 | <a href="http://juplo.de" class="externalLink" title="juplo">juplo</a>
\r
48 <div class="xright">
\r
55 <div id="leftColumn">
\r
56 <div id="navcolumn">
\r
62 <strong>Introduction</strong>
\r
65 <a href="configuration.html" title="Configuration Examples">Configuration Examples</a>
\r
68 <a href="export-mojo.html" title="Parameter Documentation">Parameter Documentation</a>
\r
71 <a href="debugging.html" title="Enable Debug-Output">Enable Debug-Output</a>
\r
74 <a href="force.html" title="Force Exceution">Force Exceution</a>
\r
77 <a href="pitfalls.html" title="Known Pitfalls">Known Pitfalls</a>
\r
80 <h5>Project Documentation</h5>
\r
82 <li class="expanded">
\r
83 <a href="project-info.html" title="Project Information">Project Information</a>
\r
86 <strong>About</strong>
\r
89 <a href="integration.html" title="Continuous Integration">Continuous Integration</a>
\r
92 <a href="dependencies.html" title="Dependencies">Dependencies</a>
\r
95 <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
\r
98 <a href="mail-lists.html" title="Mailing Lists">Mailing Lists</a>
\r
101 <a href="plugin-management.html" title="Plugin Management">Plugin Management</a>
\r
104 <a href="license.html" title="Project License">Project License</a>
\r
107 <a href="plugins.html" title="Project Plugins">Project Plugins</a>
\r
110 <a href="project-summary.html" title="Project Summary">Project Summary</a>
\r
113 <a href="team-list.html" title="Project Team">Project Team</a>
\r
116 <a href="source-repository.html" title="Source Repository">Source Repository</a>
\r
120 <li class="collapsed">
\r
121 <a href="project-reports.html" title="Project Reports">Project Reports</a>
\r
124 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
\r
125 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
\r
131 <div id="bodyColumn">
\r
132 <div id="contentBox">
\r
133 <div class="section"><h2>A simple Plugin for generating a Database-Schema from Hibernate 4 Mapping-Annotations.<a name="A_simple_Plugin_for_generating_a_Database-Schema_from_Hibernate_4_Mapping-Annotations."></a></h2><p><b>hibernate4-maven-plugin</b> is a plugin for generating a database-schema from your Hibernate-4-Mappings and create or update your database accordingly.</p><p>The plugin was designed with three main goals in mind:</p><ul><li>It should be easy to use.</li><li>It should be maximal unlikely, to erase a producation-database by accident.</li><li>It should not slow down the development cycle.</li></ul><p>To achieve the first goal, the convention-over-configuration paradigma was applied and the plugin was stuffed with usefull logging-messages. So, if in doubt, just turn on the <a href="./debugging.html"> debugging output</a> with the <tt>mvn -X ...</tt>. </p><p>To achieve the second goal, the precedence in which the configuration locations are consulted was layouted in a way that makes it possible, to prevent overwrites of the wrong database by accident.</p><p>Last but not least, in order to not slow down the development cycle, the hibernate4-maven-plugin only executes the schema-export, if the mapping or the dialect changes (or if you force it to do so).</p><p>For more information about the inspiration to write this tiny plugin, <a href="/hibernate4-maven-plugin-a-simple-plugin-for-generating-a-database-schema-from-hibernate-4-mapping-annotations/"> read our blog-article about the hibernate4-maven-plugin</a>.</p><div class="section"><h3>Documentation<a name="Documentation"></a></h3><ul><li>See <a href="./configuration.html"> Configuration Examples</a> for Usage-Explanations and simple examples of how to use this plugin.</li><li>See <a href="./export-mojo.html">hibernate4:export</a> and <a href="./plugin-info.html"> Plugin Documentation</a> for the full autogenerated documentation. These are mostly configuration-options of the Hibernate-Tools <tt>SchemaExport</tt> and <tt>SchemaUpdate</tt>, that do the work in the background.</li></ul></div><div class="section"><h3>Releases<a name="Releases"></a></h3><ul><li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin"> current version</a></li><li>1.0.1 (this version)</li><li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0"> 1.0</a></li></ul></div></div>
\r
136 <div class="clear">
\r
140 <div class="xright">Copyright © 2013.
\r
141 All Rights Reserved.
\r
144 <div class="clear">
\r