2 <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2014-04-29 -->
3 <!-- Current: index.html -->
4 <!-- Active: index.html -->
5 <!-- Path: [index.html] -->
6 <!-- Skiplist: [index.html, configuration.html, export-mojo.html, debugging.html, force.html, pitfalls.html] -->
9 <title>juplo - Hibernate 4 Maven Plugin - </title>
10 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11 <link rel="canonical" href="http://juplo.de/hibernate4-maven-plugin/index.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 @import '/css/print.css' print;
18 <script src="/js/base.js"></script>
20 <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
21 <script src="/js/ie8.js"></script>
24 <script src="/js/ie7.js"></script>
27 <script src="/js/ie6.js"></script>
29 <meta name="Date-Revision-yyyymmdd" content="20140429" />
30 <meta http-equiv="Content-Language" content="en" />
33 <body id="top" class="menu" onload="prettyPrint()">
34 <div id="page" class="cf">
36 <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
37 <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
41 <strong class="b title">You are here:</strong>
43 <li class="b"><a class="b" href="/">Home</a></li>
44 <li class="b"><a class="b" href="/projects.html">Projects</a></li>
45 <li class="b"><strong class="b">Hibernate 4 Maven Plugin</strong></li>
47 <a class="hide" href="#nav" title="Show navigation menu">Jump to navigation</a>
50 <main class="content cf">
51 <section id="content" class="main">
52 <h1>Hibernate 4 Maven Plugin - </h1>
54 <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>
55 <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>
56 <p>The plugin was designed with three main goals in mind:</p>
58 <li>It should be easy to use.</li>
59 <li>It should be maximal unlikely, to erase a producation-database by accident.</li>
60 <li>It should not slow down the development cycle.</li></ul>
61 <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>
62 <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>
63 <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>
64 <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>
66 <h3>Documentation<a name="Documentation"></a></h3>
68 <li>See <a href="./configuration.html"> Configuration Examples</a> for Usage-Explanations and simple examples of how to use this plugin.</li>
69 <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>
71 <h3>Releases<a name="Releases"></a></h3>
73 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin"> current version</a></li>
74 <li>1.0.2 (this version)</li>
75 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0.1"> 1.0.1</a></li>
76 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0"> 1.0</a></li></ul></div></div>
78 <div class="marginal">
81 <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
82 <h2 class="nav menu">Section-Menu</h2>
84 <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
85 <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
87 <h2 class="nav submenu">
88 <span class="s">Submenu for section</span>
89 <a class="s selected" href="/projects.html">Projects</a>
91 <ul id="submenu" class="s">
93 <strong class="s">Hibernate 4 Maven Plugin</strong>
96 <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
99 <a href="export-mojo.html" class="s" title="Parameter Documentation">Parameter Documentation</a>
102 <a href="debugging.html" class="s" title="Enable Debug-Output">Enable Debug-Output</a>
105 <a href="force.html" class="s" title="Force Exceution">Force Exceution</a>
108 <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
111 <a href="project-info.html" class="s" title="Project Information">Project Information</a>
114 <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
122 <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
123 <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
130 <ul id="footerlinks">
131 <li class="f" id="copyright">© <strong>mo</strong> 2013</li>
132 <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
133 <li class="f about"><a class="f" href="/about.html">About</a></li>
137 <script type="text/javascript"><!--//--><![CDATA[//><!--
138 var _gaq = _gaq || [];
139 _gaq.push(['_setAccount', 'UA-571104-3']);
140 _gaq.push(['_trackPageview']);
142 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
143 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
144 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);