-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
-<!-- Generated by Apache Maven Doxia at Jan 15, 2013 -->\r
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
- <head>\r
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
- <title>Hibernate 4 Maven Plugin - </title>\r
- <style type="text/css" media="all">\r
- @import url("./css/maven-base.css");\r
- @import url("./css/maven-theme.css");\r
- @import url("./css/site.css");\r
- </style>\r
- <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />\r
- <meta name="Date-Revision-yyyymmdd" content="20130115" />\r
- <meta http-equiv="Content-Language" content="en" />\r
-
-<script type="text/javascript"><!--
-
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-571104-3']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
-
- //--></script>\r
- \r
- </head>\r
- <body class="composite">\r
- <div id="banner">\r
- <div id="bannerLeft">\r
- Hibernate 4 Maven Plugin\r
- </div>\r
- <div class="clear">\r
- <hr/>\r
- </div>\r
- </div>\r
- <div id="breadcrumbs">\r
- \r
- \r
- <div class="xleft">\r
- <span id="publishDate">Last Published: 2013-01-15</span>\r
- | <span id="projectVersion">Version: 1.0.1</span>\r
- | <a href="http://juplo.de" class="externalLink" title="juplo">juplo</a>\r
- </div>\r
- <div class="xright"> \r
- \r
- </div>\r
- <div class="clear">\r
- <hr/>\r
- </div>\r
- </div>\r
- <div id="leftColumn">\r
- <div id="navcolumn">\r
- \r
- \r
- <h5>Overview</h5>\r
- <ul>\r
- <li class="none">\r
- <strong>Introduction</strong>\r
- </li>\r
- <li class="none">\r
- <a href="configuration.html" title="Configuration Examples">Configuration Examples</a>\r
- </li>\r
- <li class="none">\r
- <a href="export-mojo.html" title="Parameter Documentation">Parameter Documentation</a>\r
- </li>\r
- <li class="none">\r
- <a href="debugging.html" title="Enable Debug-Output">Enable Debug-Output</a>\r
- </li>\r
- <li class="none">\r
- <a href="force.html" title="Force Exceution">Force Exceution</a>\r
- </li>\r
- <li class="none">\r
- <a href="pitfalls.html" title="Known Pitfalls">Known Pitfalls</a>\r
- </li>\r
- </ul>\r
- <h5>Project Documentation</h5>\r
- <ul>\r
- <li class="expanded">\r
- <a href="project-info.html" title="Project Information">Project Information</a>\r
- <ul>\r
- <li class="none">\r
- <strong>About</strong>\r
- </li>\r
- <li class="none">\r
- <a href="integration.html" title="Continuous Integration">Continuous Integration</a>\r
- </li>\r
- <li class="none">\r
- <a href="dependencies.html" title="Dependencies">Dependencies</a>\r
- </li>\r
- <li class="none">\r
- <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>\r
- </li>\r
- <li class="none">\r
- <a href="mail-lists.html" title="Mailing Lists">Mailing Lists</a>\r
- </li>\r
- <li class="none">\r
- <a href="plugin-management.html" title="Plugin Management">Plugin Management</a>\r
- </li>\r
- <li class="none">\r
- <a href="license.html" title="Project License">Project License</a>\r
- </li>\r
- <li class="none">\r
- <a href="plugins.html" title="Project Plugins">Project Plugins</a>\r
- </li>\r
- <li class="none">\r
- <a href="project-summary.html" title="Project Summary">Project Summary</a>\r
- </li>\r
- <li class="none">\r
- <a href="team-list.html" title="Project Team">Project Team</a>\r
- </li>\r
- <li class="none">\r
- <a href="source-repository.html" title="Source Repository">Source Repository</a>\r
- </li>\r
- </ul>\r
- </li>\r
- <li class="collapsed">\r
- <a href="project-reports.html" title="Project Reports">Project Reports</a>\r
- </li>\r
- </ul>\r
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">\r
- <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />\r
- </a>\r
- \r
- \r
- </div>\r
- </div>\r
- <div id="bodyColumn">\r
- <div id="contentBox">\r
- <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
- </div>\r
- </div>\r
- <div class="clear">\r
- <hr/>\r
- </div>\r
- <div id="footer">\r
- <div class="xright">Copyright © 2013.\r
- All Rights Reserved. \r
- \r
- </div>\r
- <div class="clear">\r
- <hr/>\r
- </div>\r
- </div>\r
- </body>\r
-</html>\r