Projekt-Dokumentation (Aktueller Stand von juplo.de) hinzugefĆ¼gt
[website] / dist / hibernate4-maven-plugin-1.0.5 / index.html
1 <!DOCTYPE html>
2 <!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 2014-11-11 -->
3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             <!-- Current: index.html -->
4 <!-- Active: index.html -->
5 <!-- Path: [index.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 - </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     </style>
17     <script src="/js/base.js"></script>
18     <!--[if IE 8]>
19       <link rel="stylesheet" type="text/css" href="/css/ie8.css" />
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
29   </head>
30   <body class="menu" onload="prettyPrint()">
31     <div id="page" class="cf">
32       <header id="header">
33         <h1 id="logo"><a href="/" title="Home" class="l">juplo</a></h1>
34         <span id="slogan"><strong>Java</strong> bits from nerds for nerds</span>
35         <hr class="h" />
36       </header>
37       <div id="breadcrumb">
38         <strong class="b title">You are here:</strong>
39         <ol class="b">
40           <li class="b"><a class="b" href="/">Home</a></li>
41           <li class="b"><a class="b" href="/projects.html">Projects</a></li>
42                       <li class="b"><strong class="b">Hibernate 4 Maven Plugin</strong></li>
43                   </ol>
44         <a class="hide" href="#navigation">Jump to navigation</a>
45         <hr class="b" />
46       </div>
47       <main class="content cf">
48         <article id="content" class="main">
49           <header><h1></h1></header>
50           
51  
52  
53   
54 <h1>Hibernate 4 Maven Plugin</h1>
55   
56 <div class="section">
57 <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>
58   
59 <p>
60   The <b>hibernate4-maven-plugin</b> is a plugin for generating a database-schema
61   from your Hibernate-4-Mappings and create or update your database
62   accordingly.
63   Its main usage is to automatically create and populate a test-database
64   for unit-tests in cooperation with the
65   <a class="externalLink" href="http://mojo.codehaus.org/dbunit-maven-plugin">dbunit-maven-plugin</a>.
66   </p>
67   
68 <p>
69   The plugin was designed with three main goals in mind:
70   </p>
71   
72 <ul>
73     
74 <li>It should be easy to use.</li>
75     
76 <li>It should be maximal unlikely, to erase a producation-database by accident.</li>
77     
78 <li>It should not slow down the development cycle.</li>
79   </ul>
80   
81 <p>
82   To achieve the first goal, the convention-over-configuration paradigma
83   was applied and the plugin was stuffed with usefull logging-messages.
84   So, if in doubt, just turn on the <a href="./debugging.html">debugging output</a> with the <tt>mvn -X ...</tt>. 
85   </p>
86   
87 <p>
88   To achieve the second goal, the precedence in which the configuration
89   locations are consulted was layouted in a way that makes it possible, to
90   prevent overwrites of the wrong database by accident.
91   </p>
92   
93 <p>
94   Last but not least, in order to not slow down the development cycle, the
95   hibernate4-maven-plugin only executes the schema-export, if the mapping
96   or the dialect changes (or if you force it to do so).
97   </p>
98   
99 <p>
100   For more information about the inspiration to write this tiny plugin,
101   <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>.
102   </p>
103   </div>
104 <div class="section">
105 <h2>Documentation<a name="Documentation"></a></h2>
106   
107 <ul>
108    
109 <li>
110    See <a href="./configuration.html">Configuration Examples</a> for Usage-Explanations
111    and simple examples of how to use this plugin.
112    </li>
113    
114 <li>
115    See <a href="./export-mojo.html">hibernate4:export</a> and
116    <a href="./plugin-info.html">Plugin Documentation</a> for the full
117    autogenerated documentation. These are mostly configuration-options
118    of the Hibernate-Tools <tt>SchemaExport</tt> and <tt>SchemaUpdate</tt>, that do
119    the work in the background.
120    </li>
121   </ul>
122   </div>
123 <div class="section">
124 <h2>Releases<a name="Releases"></a></h2>
125   
126 <ul>
127     
128 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin">current version</a></li>
129     
130 <li>1.0.5 (this version)</li>
131     
132 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0.4">1.0.4</a></li>
133     
134 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0.3">1.0.3</a></li>
135     
136 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0.2">1.0.2</a></li>
137     
138 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0.1">1.0.1</a></li>
139     
140 <li><a class="externalLink" href="http://juplo.de/hibernate4-maven-plugin-1.0">1.0</a></li>
141   </ul>
142  </div>
143
144         </article>
145         <div class="marginal">
146           <nav id="nav">
147             <hr class="n" />
148             <a id="navigation"></a>
149             <a class="hide" href="#top" title="Show Content">Jump back to the top of the page</a>
150             <h2 class="nav menu">Section-Menu</h2>
151             <ul id="menu">
152               <li class="m blog"><a href="/blog/" class="m">Blog</a></li>
153               <li class="m projects"><a href="/projects.html" class="m selected">Projects</a></li>
154               <li class="m about"><a href="/about.html" class="m">About</a></li>
155             </ul>
156             <h2 class="nav submenu">
157               <span class="s">Submenu for section</span>
158               <a class="s selected" href="/projects.html">Projects</a>
159             </h2>
160             <ul id="submenu" class="s">
161                                                               <li class="s sub">
162                                           <strong class="s">Hibernate 4 Maven Plugin</strong>
163                                         <ul class="s active">
164                                                                                                                                                                                                                                           <li class="s">
165                     <a href="configuration.html" class="s" title="Configuration Examples">Configuration Examples</a>
166                 </li>
167                                                                                                   <li class="s">
168                     <a href="export-mojo.html" class="s" title="Parameter Documentation">Parameter Documentation</a>
169                 </li>
170                                                                                                   <li class="s">
171                     <a href="debugging.html" class="s" title="Enable Debug-Output">Enable Debug-Output</a>
172                 </li>
173                                                                                                   <li class="s">
174                     <a href="skip.html" class="s" title="Skipping Execution">Skipping Execution</a>
175                 </li>
176                                                                                                   <li class="s">
177                     <a href="force.html" class="s" title="Force Exceution">Force Exceution</a>
178                 </li>
179                                                                                                   <li class="s">
180                     <a href="pitfalls.html" class="s" title="Known Pitfalls (FAQ)">Known Pitfalls (FAQ)</a>
181                 </li>
182                                                                                                                                                                                                                                                                                                                                   <li class="s sub">
183                     <a href="project-info.html" class="s" title="Project Information">Project Information</a>
184                 </li>
185                                                                                                                                                                                   <li class="s sub">
186                     <a href="project-reports.html" class="s" title="Project Reports">Project Reports</a>
187                 </li>
188                                                                                               </ul>
189                   </li>
190                                           </ul>
191             <hr class="n" />
192           </nav>
193           <aside class="m">
194             <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
195               <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
196             </a>
197           </aside>
198         </div>
199       </main>
200       <footer id="footer">
201         <hr class="f" />
202         <ul id="footerlinks">
203           <li class="f" id="copyright">&#xa9; <strong>mo</strong>             2014
204       </li>
205           <li class="f"><a class="f" href="/impressum.html">Impressum</a></li>
206           <li class="f about"><a class="f" href="/about.html">About</a></li>
207         </ul>
208       </footer>
209     </div>
210         <script type="text/javascript"><!--//--><![CDATA[//><!--
211       var _gaq = _gaq || [];
212       _gaq.push(['_setAccount', 'UA-571104-3']);
213       _gaq.push(['_trackPageview']);
214       (function() {
215         var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
216         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
217         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
218       })();
219     //--><!]]>
220     </script>
221       </body>
222 </html>