4a27c97e903ba6432699c48ce8de1cda4082dbd4
[website] / dist / hibernate-maven-plugin-2.1.0 / create-mojo.html
1 <!DOCTYPE html>
2 <!--/*-->
3 <!-- Generated by Apache Maven Doxia Site Renderer 1.7.1 at 2017-06-02 -->
4
5
6
7
8             
9     
10     
11   
12       
13       
14     
15     
16   
17       
18       
19     
20     
21   
22       
23   
24     
25                                                   
26     
27       <!-- NEW PAGE - - - - - uri: integration.html -->
28     
29     
30         
31     
32     
33   
34       
35   
36     
37                                                   
38     
39       <!-- NEW PAGE - - - - - uri: dependencies.html -->
40     
41     
42         
43     
44     
45   
46       
47   
48     
49                                                   
50     
51       <!-- NEW PAGE - - - - - uri: dependency-info.html -->
52     
53     
54         
55     
56     
57   
58       
59   
60     
61                                                   
62     
63       <!-- NEW PAGE - - - - - uri: distribution-management.html -->
64     
65     
66         
67     
68     
69   
70       
71   
72     
73                                                   
74     
75       <!-- NEW PAGE - - - - - uri: index.html -->
76     
77     
78         
79     
80     
81   
82       
83   
84     
85                                                   
86     
87       <!-- NEW PAGE - - - - - uri: license.html -->
88     
89     
90         
91     
92     
93   
94       
95   
96     
97                                                   
98     
99       <!-- NEW PAGE - - - - - uri: plugin-management.html -->
100     
101     
102         
103     
104     
105   
106       
107   
108     
109                                                   
110     
111       <!-- NEW PAGE - - - - - uri: plugins.html -->
112     
113     
114         
115     
116     
117   
118       
119   
120     
121                                                   
122     
123       <!-- NEW PAGE - - - - - uri: team-list.html -->
124     
125     
126         
127     
128     
129   
130       
131   
132     
133                                                   
134     
135       <!-- NEW PAGE - - - - - uri: source-repository.html -->
136     
137     
138         
139     
140     
141   
142       
143   
144     
145                                                   
146     
147       <!-- NEW PAGE - - - - - uri: project-summary.html -->
148     
149     
150     
151     
152                                   
153     
154       <!-- NEW PAGE - - - - - uri: project-info.html -->
155     
156     
157         
158     
159     
160   
161       
162       
163     
164     
165   
166       
167   
168     
169                                                   
170     
171       <!-- NEW PAGE - - - - - uri: testapidocs/index.html -->
172     
173     
174         
175     
176     
177   
178       
179   
180     
181                                                   
182     
183       <!-- NEW PAGE - - - - - uri: apidocs/index.html -->
184     
185     
186         
187     
188     
189   
190       
191   
192     
193                                                   
194     
195       <!-- NEW PAGE - - - - - uri: xref/index.html -->
196     
197     
198         
199     
200     
201   
202       
203   
204     
205                                                   
206     
207       <!-- NEW PAGE - - - - - uri: xref-test/index.html -->
208     
209     
210         
211     
212     
213   
214       
215   
216     
217                                                   
218     
219       <!-- NEW PAGE - - - - - uri: cpd.html -->
220     
221     
222         
223     
224     
225   
226       
227   
228     
229                                                   
230     
231       <!-- NEW PAGE - - - - - uri: pmd.html -->
232     
233     
234         
235     
236     
237   
238       
239   
240     
241                                                   
242     
243       <!-- NEW PAGE - - - - - uri: plugin-info.html -->
244     
245     
246     
247     
248                                   
249     
250       <!-- NEW PAGE - - - - - uri: project-reports.html -->
251     
252     
253     
254     
255     <!-- DONE WITH MENUE -  - $page.name-->
256             
257     
258     
259   
260       
261       
262     
263     
264   
265       
266   
267     
268                                   
269     
270       <!-- OVERWRITING PAGE - uri: index.html -->
271     
272     
273         
274     
275     
276   
277       
278   
279     
280                                   
281     
282       <!-- NEW PAGE - - - - - uri: configuration.html -->
283     
284     
285         
286     
287     
288   
289       
290   
291     
292                                   
293     
294       <!-- NEW PAGE - - - - - uri: create-mojo.html -->
295     
296     
297         
298     
299     
300   
301       
302   
303     
304                                   
305     
306       <!-- NEW PAGE - - - - - uri: drop-mojo.html -->
307     
308     
309         
310     
311     
312   
313       
314   
315     
316                                   
317     
318       <!-- NEW PAGE - - - - - uri: debugging.html -->
319     
320     
321         
322     
323     
324   
325       
326   
327     
328                                   
329     
330       <!-- NEW PAGE - - - - - uri: skip.html -->
331     
332     
333         
334     
335     
336   
337       
338   
339     
340                                   
341     
342       <!-- NEW PAGE - - - - - uri: force.html -->
343     
344     
345         
346     
347     
348   
349       
350   
351     
352                                   
353     
354       <!-- NEW PAGE - - - - - uri: pitfalls.html -->
355     
356     
357         
358     
359     
360   
361       
362   
363     
364                                   
365     
366       <!-- OVERWRITING PAGE - uri: project-info.html -->
367     
368     
369         
370     
371     
372   
373       
374   
375     
376                                   
377     
378       <!-- OVERWRITING PAGE - uri: project-reports.html -->
379     
380     
381     
382     
383     <!-- DONE WITH MENUE -  - (no name)-->
384           
385         
386
387 <!-- name: Goal: CREATE -->
388 <!-- title: Hibernate Maven Plugin &#x2013; hibernate:create -->
389 <!-- short title: hibernate:create -->
390 <!-- current page: create-mojo.html -->
391 <!-- path: /hibernate-maven-plugin/ -->
392 <!-- crumbs: {&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;} -->
393 <!-- pages: {integration.html={name=CI Management, uri=integration.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 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 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 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 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, create-mojo.html=Goal: CREATE, drop-mojo.html=Goal: DROP, debugging.html=Enable Debugging-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 Maven Plugin}, {uri=index.html, name=Overview}]}, license.html={name=Licenses, uri=license.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 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 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 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 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 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 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 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 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 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 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 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=xref-test/index.html, name=Test Source Xref}]}, cpd.html={name=CPD, uri=cpd.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=cpd.html, name=CPD}]}, pmd.html={name=PMD, uri=pmd.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 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 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, cpd.html=CPD, pmd.html=PMD, plugin-info.html=Plugin Documentation}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=project-reports.html, name=Project Reports}]}, configuration.html={name=Configuration Examples, uri=configuration.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=configuration.html, name=Configuration Examples}]}, create-mojo.html={name=Goal: CREATE, uri=create-mojo.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=create-mojo.html, name=Goal: CREATE}]}, drop-mojo.html={name=Goal: DROP, uri=drop-mojo.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=drop-mojo.html, name=Goal: DROP}]}, debugging.html={name=Enable Debugging-Output, uri=debugging.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=debugging.html, name=Enable Debugging-Output}]}, skip.html={name=Skipping Execution, uri=skip.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=skip.html, name=Skipping Execution}]}, force.html={name=Force Exceution, uri=force.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=force.html, name=Force Exceution}]}, pitfalls.html={name=Known Pitfalls (FAQ), uri=pitfalls.html, childs={}, crumbs=[{uri=index.html, name=Hibernate Maven Plugin}, {uri=pitfalls.html, name=Known Pitfalls (FAQ)}]}} -->
394
395
396 <!--*/-->
397 <html
398     xmlns="http://www.w3.org/1999/xhtml"
399     xmlns:layout="http://www.thymeleaf.org"
400     layout:decorator="templates/layout"
401     th:with="
402       uri='/hibernate-maven-plugin/create-mojo.html',
403       json='merge:{&quot;pages&quot;:{&quot;/hibernate-maven-plugin/integration.html&quot;:{&quot;name&quot;:&quot;CI Management&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/integration.html&quot;,&quot;name&quot;:&quot;CI Management&quot;}]},&quot;/hibernate-maven-plugin/dependencies.html&quot;:{&quot;name&quot;:&quot;Dependencies&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/dependencies.html&quot;,&quot;name&quot;:&quot;Dependencies&quot;}]},&quot;/hibernate-maven-plugin/dependency-info.html&quot;:{&quot;name&quot;:&quot;Dependency Information&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/dependency-info.html&quot;,&quot;name&quot;:&quot;Dependency Information&quot;}]},&quot;/hibernate-maven-plugin/distribution-management.html&quot;:{&quot;name&quot;:&quot;Distribution Management&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/distribution-management.html&quot;,&quot;name&quot;:&quot;Distribution Management&quot;}]},&quot;/hibernate-maven-plugin/index.html&quot;:{&quot;name&quot;:&quot;Overview&quot;,&quot;childs&quot;:{&quot;/hibernate-maven-plugin/index.html&quot;:&quot;Overview&quot;,&quot;/hibernate-maven-plugin/configuration.html&quot;:&quot;Configuration Examples&quot;,&quot;/hibernate-maven-plugin/create-mojo.html&quot;:&quot;Goal: CREATE&quot;,&quot;/hibernate-maven-plugin/drop-mojo.html&quot;:&quot;Goal: DROP&quot;,&quot;/hibernate-maven-plugin/debugging.html&quot;:&quot;Enable Debugging-Output&quot;,&quot;/hibernate-maven-plugin/skip.html&quot;:&quot;Skipping Execution&quot;,&quot;/hibernate-maven-plugin/force.html&quot;:&quot;Force Exceution&quot;,&quot;/hibernate-maven-plugin/pitfalls.html&quot;:&quot;Known Pitfalls (FAQ)&quot;,&quot;/hibernate-maven-plugin/project-info.html&quot;:&quot;Project Information&quot;,&quot;/hibernate-maven-plugin/project-reports.html&quot;:&quot;Project Reports&quot;},&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Overview&quot;}]},&quot;/hibernate-maven-plugin/license.html&quot;:{&quot;name&quot;:&quot;Licenses&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/license.html&quot;,&quot;name&quot;:&quot;Licenses&quot;}]},&quot;/hibernate-maven-plugin/plugin-management.html&quot;:{&quot;name&quot;:&quot;Plugin Management&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/plugin-management.html&quot;,&quot;name&quot;:&quot;Plugin Management&quot;}]},&quot;/hibernate-maven-plugin/plugins.html&quot;:{&quot;name&quot;:&quot;Plugins&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/plugins.html&quot;,&quot;name&quot;:&quot;Plugins&quot;}]},&quot;/hibernate-maven-plugin/team-list.html&quot;:{&quot;name&quot;:&quot;Team&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/team-list.html&quot;,&quot;name&quot;:&quot;Team&quot;}]},&quot;/hibernate-maven-plugin/source-repository.html&quot;:{&quot;name&quot;:&quot;Source Code Management&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/source-repository.html&quot;,&quot;name&quot;:&quot;Source Code Management&quot;}]},&quot;/hibernate-maven-plugin/project-summary.html&quot;:{&quot;name&quot;:&quot;Summary&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-summary.html&quot;,&quot;name&quot;:&quot;Summary&quot;}]},&quot;/hibernate-maven-plugin/project-info.html&quot;:{&quot;name&quot;:&quot;Project Information&quot;,&quot;childs&quot;:{&quot;/hibernate-maven-plugin/integration.html&quot;:&quot;CI Management&quot;,&quot;/hibernate-maven-plugin/dependencies.html&quot;:&quot;Dependencies&quot;,&quot;/hibernate-maven-plugin/dependency-info.html&quot;:&quot;Dependency Information&quot;,&quot;/hibernate-maven-plugin/distribution-management.html&quot;:&quot;Distribution Management&quot;,&quot;/hibernate-maven-plugin/index.html&quot;:&quot;About&quot;,&quot;/hibernate-maven-plugin/license.html&quot;:&quot;Licenses&quot;,&quot;/hibernate-maven-plugin/plugin-management.html&quot;:&quot;Plugin Management&quot;,&quot;/hibernate-maven-plugin/plugins.html&quot;:&quot;Plugins&quot;,&quot;/hibernate-maven-plugin/team-list.html&quot;:&quot;Team&quot;,&quot;/hibernate-maven-plugin/source-repository.html&quot;:&quot;Source Code Management&quot;,&quot;/hibernate-maven-plugin/project-summary.html&quot;:&quot;Summary&quot;},&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-info.html&quot;,&quot;name&quot;:&quot;Project Information&quot;}]},&quot;/hibernate-maven-plugin/testapidocs/index.html&quot;:{&quot;name&quot;:&quot;Test JavaDocs&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/testapidocs/index.html&quot;,&quot;name&quot;:&quot;Test JavaDocs&quot;}]},&quot;/hibernate-maven-plugin/apidocs/index.html&quot;:{&quot;name&quot;:&quot;JavaDocs&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/apidocs/index.html&quot;,&quot;name&quot;:&quot;JavaDocs&quot;}]},&quot;/hibernate-maven-plugin/xref/index.html&quot;:{&quot;name&quot;:&quot;Source Xref&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/xref/index.html&quot;,&quot;name&quot;:&quot;Source Xref&quot;}]},&quot;/hibernate-maven-plugin/xref-test/index.html&quot;:{&quot;name&quot;:&quot;Test Source Xref&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/xref-test/index.html&quot;,&quot;name&quot;:&quot;Test Source Xref&quot;}]},&quot;/hibernate-maven-plugin/cpd.html&quot;:{&quot;name&quot;:&quot;CPD&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/cpd.html&quot;,&quot;name&quot;:&quot;CPD&quot;}]},&quot;/hibernate-maven-plugin/pmd.html&quot;:{&quot;name&quot;:&quot;PMD&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/pmd.html&quot;,&quot;name&quot;:&quot;PMD&quot;}]},&quot;/hibernate-maven-plugin/plugin-info.html&quot;:{&quot;name&quot;:&quot;Plugin Documentation&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/plugin-info.html&quot;,&quot;name&quot;:&quot;Plugin Documentation&quot;}]},&quot;/hibernate-maven-plugin/project-reports.html&quot;:{&quot;name&quot;:&quot;Project Reports&quot;,&quot;childs&quot;:{&quot;/hibernate-maven-plugin/testapidocs/index.html&quot;:&quot;Test JavaDocs&quot;,&quot;/hibernate-maven-plugin/apidocs/index.html&quot;:&quot;JavaDocs&quot;,&quot;/hibernate-maven-plugin/xref/index.html&quot;:&quot;Source Xref&quot;,&quot;/hibernate-maven-plugin/xref-test/index.html&quot;:&quot;Test Source Xref&quot;,&quot;/hibernate-maven-plugin/cpd.html&quot;:&quot;CPD&quot;,&quot;/hibernate-maven-plugin/pmd.html&quot;:&quot;PMD&quot;,&quot;/hibernate-maven-plugin/plugin-info.html&quot;:&quot;Plugin Documentation&quot;},&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/project-reports.html&quot;,&quot;name&quot;:&quot;Project Reports&quot;}]},&quot;/hibernate-maven-plugin/configuration.html&quot;:{&quot;name&quot;:&quot;Configuration Examples&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/configuration.html&quot;,&quot;name&quot;:&quot;Configuration Examples&quot;}]},&quot;/hibernate-maven-plugin/create-mojo.html&quot;:{&quot;name&quot;:&quot;Goal: CREATE&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/create-mojo.html&quot;,&quot;name&quot;:&quot;Goal: CREATE&quot;}]},&quot;/hibernate-maven-plugin/drop-mojo.html&quot;:{&quot;name&quot;:&quot;Goal: DROP&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/drop-mojo.html&quot;,&quot;name&quot;:&quot;Goal: DROP&quot;}]},&quot;/hibernate-maven-plugin/debugging.html&quot;:{&quot;name&quot;:&quot;Enable Debugging-Output&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/debugging.html&quot;,&quot;name&quot;:&quot;Enable Debugging-Output&quot;}]},&quot;/hibernate-maven-plugin/skip.html&quot;:{&quot;name&quot;:&quot;Skipping Execution&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/skip.html&quot;,&quot;name&quot;:&quot;Skipping Execution&quot;}]},&quot;/hibernate-maven-plugin/force.html&quot;:{&quot;name&quot;:&quot;Force Exceution&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/force.html&quot;,&quot;name&quot;:&quot;Force Exceution&quot;}]},&quot;/hibernate-maven-plugin/pitfalls.html&quot;:{&quot;name&quot;:&quot;Known Pitfalls (FAQ)&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/pitfalls.html&quot;,&quot;name&quot;:&quot;Known Pitfalls (FAQ)&quot;}]}}}'
404       "
405     >
406   <head>
407     <title>Hibernate Maven Plugin &#x2013; hibernate:create</title>
408     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
409     <link rel="canonical" href="/hibernate-maven-plugin/create-mojo.html"/>
410   </head>
411   <body>
412     <h2>Path</h2>
413     <p>
414       <ol>
415         <li><a href="index.html">Hibernate Maven Plugin</a></li><li><a href="create-mojo.html">Goal: CREATE</a></li>      </ol>
416     </p>
417     <hr />
418     <article class="main" layout:fragment="maincontent">
419       
420   
421     <div class="section">
422 <h2><a name="hibernate:create"></a>hibernate:create</h2>
423       
424 <p><b>Full name</b>:</p>
425       
426 <p>de.juplo:hibernate-maven-plugin:2.1.0:create</p>
427       
428 <p><b>Description</b>:</p>
429       
430 <div>Generate/Execute SQL to create a database-schema that represents
431 the configured mappings.</div>
432       
433 <p><b>Attributes</b>:</p>
434       
435 <ul>
436         
437 <li>Requires a Maven project to be executed.</li>
438         
439 <li>Requires dependency resolution of artifacts in scope: <tt>runtime</tt>.</li>
440         
441 <li>The goal is thread-safe and supports parallel builds.</li>
442         
443 <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>
444       </ul>
445       
446 <div class="section">
447 <h3><a name="Optional_Parameters"></a>Optional Parameters</h3>
448         
449 <table class="bodyTable" border="0">
450           
451 <tr class="a">
452             
453 <th>Name</th>
454             
455 <th>Type</th>
456             
457 <th>Since</th>
458             
459 <th>Description</th>
460           </tr>
461           
462 <tr class="b">
463             
464 <td><b><a href="#createNamespaces">createNamespaces</a></b></td>
465             
466 <td><tt>Boolean</tt></td>
467             
468 <td><tt>2.0</tt></td>
469             
470 <td>Specifies whether to automatically create also the database
471 schema/catalog.<br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>hibernate.hbm2dll.create_namespaces</tt>.</td>
472           </tr>
473           
474 <tr class="a">
475             
476 <td><b><a href="#delimiter">delimiter</a></b></td>
477             
478 <td><tt>String</tt></td>
479             
480 <td><tt>1.0</tt></td>
481             
482 <td>Delimiter in output-file. 
483
484 <p><b>Important:</b> This configuration value can only be
485 configured through the <tt>pom.xml</tt>, or by the definition
486 of a system-property, because it is not known by Hibernate nor JPA
487 and, hence, not picked up from their configuration!</p><br /><b>Default value is</b>: <tt>;</tt>.<br /><b>User property is</b>: <tt>hibernate.hbm2ddl.delimiter</tt>.</td>
488           </tr>
489           
490 <tr class="b">
491             
492 <td><b><a href="#dialect">dialect</a></b></td>
493             
494 <td><tt>String</tt></td>
495             
496 <td><tt>1.0</tt></td>
497             
498 <td>Hibernate dialect.<br /><b>User property is</b>: <tt>hibernate.dialect</tt>.</td>
499           </tr>
500           
501 <tr class="a">
502             
503 <td><b><a href="#driver">driver</a></b></td>
504             
505 <td><tt>String</tt></td>
506             
507 <td><tt>1.0</tt></td>
508             
509 <td>SQL-Driver name.<br /><b>User property is</b>: <tt>hibernate.connection.driver_class</tt>.</td>
510           </tr>
511           
512 <tr class="b">
513             
514 <td><b><a href="#execute">execute</a></b></td>
515             
516 <td><tt>Boolean</tt></td>
517             
518 <td><tt>2.0</tt></td>
519             
520 <td>Excecute the generated SQL. If set to <tt>false</tt>, only the
521 SQL-script is created and the database is not touched. 
522
523 <p><b>Important:</b> This configuration value can only be
524 configured through the <tt>pom.xml</tt>, or by the definition
525 of a system-property, because it is not known by Hibernate nor JPA
526 and, hence, not picked up from their configuration!</p><br /><b>Default value is</b>: <tt>true</tt>.<br /><b>User property is</b>: <tt>hibernate.schema.execute</tt>.</td>
527           </tr>
528           
529 <tr class="a">
530             
531 <td><b><a href="#force">force</a></b></td>
532             
533 <td><tt>boolean</tt></td>
534             
535 <td><tt>1.0</tt></td>
536             
537 <td>Force generation/execution 
538
539 <p>Force the generation and (if configured) the execution of the
540 SQL, even if no modified or newly added annotated classes where
541 found and the configuration was not changed.</p>
542
543 <p><tt>skip</tt> takes precedence over <tt>force</tt>.</p>
544
545 <p><b>Important:</b> This configuration value can only be
546 configured through the <tt>pom.xml</tt>, or by the definition
547 of a system-property, because it is not known by Hibernate nor JPA
548 and, hence, not picked up from their configuration!</p><br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>hibernate.schema.force</tt>.</td>
549           </tr>
550           
551 <tr class="b">
552             
553 <td><b><a href="#format">format</a></b></td>
554             
555 <td><tt>Boolean</tt></td>
556             
557 <td><tt>1.0</tt></td>
558             
559 <td>Format output-file.<br /><b>User property is</b>: <tt>hibernate.format_sql</tt>.</td>
560           </tr>
561           
562 <tr class="a">
563             
564 <td><b><a href="#hibernateConfig">hibernateConfig</a></b></td>
565             
566 <td><tt>String</tt></td>
567             
568 <td><tt>1.1.0</tt></td>
569             
570 <td>Path to Hibernate configuration file (.cfg.xml). If this parameter
571 is specified, the plugin will try to load configuration values from
572 a file with the given path or a ressource on the classpath with the
573 given name. If both fails, the execution of the plugin will fail. 
574
575 <p>If this parameter is not set the plugin will load configuration
576 values from a ressource named <tt>hibernate.cfg.xml</tt> on the
577 classpath, if it is present, but will not fail if there is no such
578 ressource.</p>
579
580 <p>During ressource-lookup, the test-classpath takes
581 precedence.</p>
582
583 <p>Settings in this file will overwrite settings in the properties
584 file.</p><br /></td>
585           </tr>
586           
587 <tr class="b">
588             
589 <td><b><a href="#hibernateProperties">hibernateProperties</a></b></td>
590             
591 <td><tt>String</tt></td>
592             
593 <td><tt>1.0</tt></td>
594             
595 <td>Path to a file or name of a ressource with hibernate properties. If
596 this parameter is specified, the plugin will try to load
597 configuration values from a file with the given path or a ressource
598 on the classpath with the given name. If both fails, the execution
599 of the plugin will fail. 
600
601 <p>If this parameter is not set the plugin will load configuration
602 values from a ressource named <tt>hibernate.properties</tt> on
603 the classpath, if it is present, but will not fail if there is no
604 such ressource.</p>
605
606 <p>During ressource-lookup, the test-classpath takes
607 precedence.</p><br /></td>
608           </tr>
609           
610 <tr class="a">
611             
612 <td><b><a href="#implicitNamingStrategy">implicitNamingStrategy</a></b></td>
613             
614 <td><tt>String</tt></td>
615             
616 <td><tt>2.0</tt></td>
617             
618 <td>Implicit naming strategy<br /><b>User property is</b>: <tt>hibernate.implicit_naming_strategy</tt>.</td>
619           </tr>
620           
621 <tr class="b">
622             
623 <td><b><a href="#mappings">mappings</a></b></td>
624             
625 <td><tt>String</tt></td>
626             
627 <td><tt>1.0.2</tt></td>
628             
629 <td>List of Hibernate-Mapping-Files (XML). Multiple files can be
630 separated with white-spaces and/or commas.<br /><b>User property is</b>: <tt>hibernate.mapping</tt>.</td>
631           </tr>
632           
633 <tr class="a">
634             
635 <td><b><a href="#outputDirectory">outputDirectory</a></b></td>
636             
637 <td><tt>String</tt></td>
638             
639 <td><tt>1.0</tt></td>
640             
641 <td>Classes-Directory to scan. 
642
643 <p>This parameter defaults to the maven build-output-directory for
644 classes. Additionally, all dependencies are scanned for annotated
645 classes.</p>
646
647 <p><b>Important:</b> This configuration value can only be
648 configured through the <tt>pom.xml</tt>, or by the definition
649 of a system-property, because it is not known by Hibernate nor JPA
650 and, hence, not picked up from their configuration!</p><br /><b>User property is</b>: <tt>project.build.outputDirectory</tt>.</td>
651           </tr>
652           
653 <tr class="b">
654             
655 <td><b><a href="#outputFile">outputFile</a></b></td>
656             
657 <td><tt>String</tt></td>
658             
659 <td><tt>1.0</tt></td>
660             
661 <td>Output file. 
662
663 <p>If the specified filename is not absolut, the file will be
664 created relative to the project build directory
665 (<tt>project.build.directory</tt>).</p><br /><b>Default value is</b>: <tt>create.sql</tt>.<br /><b>User property is</b>: <tt>hibernate.schema.create</tt>.</td>
666           </tr>
667           
668 <tr class="a">
669             
670 <td><b><a href="#password">password</a></b></td>
671             
672 <td><tt>String</tt></td>
673             
674 <td><tt>1.0</tt></td>
675             
676 <td>Database password<br /><b>User property is</b>: <tt>hibernate.connection.password</tt>.</td>
677           </tr>
678           
679 <tr class="b">
680             
681 <td><b><a href="#persistenceUnit">persistenceUnit</a></b></td>
682             
683 <td><tt>String</tt></td>
684             
685 <td><tt>1.1.0</tt></td>
686             
687 <td>Name of the persistence-unit. If this parameter is specified, the
688 plugin will try to load configuration values from a
689 persistence-unit with the specified name. If no such
690 persistence-unit can be found, the plugin will throw an exception. 
691
692 <p>If this parameter is not set and there is only one
693 persistence-unit available, that unit will be used automatically.
694 But if this parameter is not set and there are multiple
695 persistence-units available on, the class-path, the execution of
696 the plugin will fail.</p>
697
698 <p>Settings in this file will overwrite settings in the properties
699 or the configuration file.</p><br /></td>
700           </tr>
701           
702 <tr class="a">
703             
704 <td><b><a href="#physicalNamingStrategy">physicalNamingStrategy</a></b></td>
705             
706 <td><tt>String</tt></td>
707             
708 <td><tt>2.0</tt></td>
709             
710 <td>Physical naming strategy<br /><b>User property is</b>: <tt>hibernate.physical_naming_strategy</tt>.</td>
711           </tr>
712           
713 <tr class="b">
714             
715 <td><b><a href="#scanClasses">scanClasses</a></b></td>
716             
717 <td><tt>Boolean</tt></td>
718             
719 <td><tt>2.0</tt></td>
720             
721 <td>Wether the project should be scanned for annotated-classes, or not 
722
723 <p>This parameter is intended to allow overwriting of the parameter
724 <tt>exclude-unlisted-classes</tt> of a
725 <tt>persistence-unit</tt>. If not specified, it defaults to
726 <tt>true</tt></p><br /><b>User property is</b>: <tt>hibernate.schema.scan.classes</tt>.</td>
727           </tr>
728           
729 <tr class="a">
730             
731 <td><b><a href="#scanDependencies">scanDependencies</a></b></td>
732             
733 <td><tt>String</tt></td>
734             
735 <td><tt>1.0.3</tt></td>
736             
737 <td>Dependency-Scopes, that should be scanned for annotated classes. 
738
739 <p>By default, only dependencies in the scope <tt>compile</tt>
740 are scanned for annotated classes. Multiple scopes can be seperated
741 by white space or commas.</p>
742
743 <p>If you do not want any dependencies to be scanned for annotated
744 classes, set this parameter to <tt>none</tt>.</p>
745
746 <p>The plugin does not scan for annotated classes in transitive
747 dependencies. If some of your annotated classes are hidden in a
748 transitive dependency, you can simply add that dependency
749 explicitly.</p><br /><b>Default value is</b>: <tt>compile</tt>.<br /><b>User property is</b>: <tt>hibernate.schema.scan.dependencies</tt>.</td>
750           </tr>
751           
752 <tr class="b">
753             
754 <td><b><a href="#scanTestClasses">scanTestClasses</a></b></td>
755             
756 <td><tt>Boolean</tt></td>
757             
758 <td><tt>1.0.1</tt></td>
759             
760 <td>Whether to scan the test-branch of the project for annotated
761 classes, or not. 
762
763 <p>If this parameter is set to <tt>true</tt> the test-classes
764 of the artifact will be scanned for hibernate-annotated classes
765 additionally.</p>
766
767 <p><b>Important:</b> This configuration value can only be
768 configured through the <tt>pom.xml</tt>, or by the definition
769 of a system-property, because it is not known by Hibernate nor JPA
770 and, hence, not picked up from their configuration!</p><br /><b>Default value is</b>: <tt>false</tt>.<br /><b>User property is</b>: <tt>hibernate.schema.scan.test_classes</tt>.</td>
771           </tr>
772           
773 <tr class="a">
774             
775 <td><b><a href="#show">show</a></b></td>
776             
777 <td><tt>Boolean</tt></td>
778             
779 <td><tt>1.0</tt></td>
780             
781 <td>Show the generated SQL in the command-line output.<br /><b>User property is</b>: <tt>hibernate.show_sql</tt>.</td>
782           </tr>
783           
784 <tr class="b">
785             
786 <td><b><a href="#skip">skip</a></b></td>
787             
788 <td><tt>boolean</tt></td>
789             
790 <td><tt>1.0</tt></td>
791             
792 <td>Skip execution 
793
794 <p>If set to <tt>true</tt>, the execution is skipped.</p>
795
796 <p>A skipped execution is signaled via the maven-property
797 <tt>${hibernate.schema.skipped}</tt>.</p>
798
799 <p>The execution is skipped automatically, if no modified or newly
800 added annotated classes are found and the dialect was not
801 changed.</p>
802
803 <p><b>Important:</b> This configuration value can only be
804 configured through the <tt>pom.xml</tt>, or by the definition
805 of a system-property, because it is not known by Hibernate nor JPA
806 and, hence, not picked up from their configuration!</p><br /><b>Default value is</b>: <tt>${maven.test.skip}</tt>.<br /><b>User property is</b>: <tt>hibernate.schema.skip</tt>.</td>
807           </tr>
808           
809 <tr class="a">
810             
811 <td><b><a href="#testOutputDirectory">testOutputDirectory</a></b></td>
812             
813 <td><tt>String</tt></td>
814             
815 <td><tt>1.0.2</tt></td>
816             
817 <td>Test-Classes-Directory to scan. 
818
819 <p>This parameter defaults to the maven build-output-directory for
820 test-classes.</p>
821
822 <p>This parameter is only used, when <tt>scanTestClasses</tt>
823 is set to <tt>true</tt>!</p>
824
825 <p><b>Important:</b> This configuration value can only be
826 configured through the <tt>pom.xml</tt>, or by the definition
827 of a system-property, because it is not known by Hibernate nor JPA
828 and, hence, not picked up from their configuration!</p><br /><b>User property is</b>: <tt>project.build.testOutputDirectory</tt>.</td>
829           </tr>
830           
831 <tr class="b">
832             
833 <td><b><a href="#url">url</a></b></td>
834             
835 <td><tt>String</tt></td>
836             
837 <td><tt>1.0</tt></td>
838             
839 <td>Database URL.<br /><b>User property is</b>: <tt>hibernate.connection.url</tt>.</td>
840           </tr>
841           
842 <tr class="a">
843             
844 <td><b><a href="#username">username</a></b></td>
845             
846 <td><tt>String</tt></td>
847             
848 <td><tt>1.0</tt></td>
849             
850 <td>Database username<br /><b>User property is</b>: <tt>hibernate.connection.username</tt>.</td>
851           </tr>
852         </table>
853       </div>
854       
855 <div class="section">
856 <h3><a name="Parameter_Details"></a>Parameter Details</h3>
857         
858 <p><b><a name="createNamespaces">createNamespaces</a>:</b></p>
859         
860 <div>Specifies whether to automatically create also the database
861 schema/catalog.</div>
862         
863 <ul>
864           
865 <li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
866           
867 <li><b>Since</b>: <tt>2.0</tt></li>
868           
869 <li><b>Required</b>: <tt>No</tt></li>
870           
871 <li><b>User Property</b>: <tt>hibernate.hbm2dll.create_namespaces</tt></li>
872           
873 <li><b>Default</b>: <tt>false</tt></li>
874         </ul><hr />
875 <p><b><a name="delimiter">delimiter</a>:</b></p>
876         
877 <div>Delimiter in output-file. 
878
879 <p><b>Important:</b> This configuration value can only be
880 configured through the <tt>pom.xml</tt>, or by the definition
881 of a system-property, because it is not known by Hibernate nor JPA
882 and, hence, not picked up from their configuration!</p></div>
883         
884 <ul>
885           
886 <li><b>Type</b>: <tt>java.lang.String</tt></li>
887           
888 <li><b>Since</b>: <tt>1.0</tt></li>
889           
890 <li><b>Required</b>: <tt>No</tt></li>
891           
892 <li><b>User Property</b>: <tt>hibernate.hbm2ddl.delimiter</tt></li>
893           
894 <li><b>Default</b>: <tt>;</tt></li>
895         </ul><hr />
896 <p><b><a name="dialect">dialect</a>:</b></p>
897         
898 <div>Hibernate dialect.</div>
899         
900 <ul>
901           
902 <li><b>Type</b>: <tt>java.lang.String</tt></li>
903           
904 <li><b>Since</b>: <tt>1.0</tt></li>
905           
906 <li><b>Required</b>: <tt>No</tt></li>
907           
908 <li><b>User Property</b>: <tt>hibernate.dialect</tt></li>
909         </ul><hr />
910 <p><b><a name="driver">driver</a>:</b></p>
911         
912 <div>SQL-Driver name.</div>
913         
914 <ul>
915           
916 <li><b>Type</b>: <tt>java.lang.String</tt></li>
917           
918 <li><b>Since</b>: <tt>1.0</tt></li>
919           
920 <li><b>Required</b>: <tt>No</tt></li>
921           
922 <li><b>User Property</b>: <tt>hibernate.connection.driver_class</tt></li>
923         </ul><hr />
924 <p><b><a name="execute">execute</a>:</b></p>
925         
926 <div>Excecute the generated SQL. If set to <tt>false</tt>, only the
927 SQL-script is created and the database is not touched. 
928
929 <p><b>Important:</b> This configuration value can only be
930 configured through the <tt>pom.xml</tt>, or by the definition
931 of a system-property, because it is not known by Hibernate nor JPA
932 and, hence, not picked up from their configuration!</p></div>
933         
934 <ul>
935           
936 <li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
937           
938 <li><b>Since</b>: <tt>2.0</tt></li>
939           
940 <li><b>Required</b>: <tt>No</tt></li>
941           
942 <li><b>User Property</b>: <tt>hibernate.schema.execute</tt></li>
943           
944 <li><b>Default</b>: <tt>true</tt></li>
945         </ul><hr />
946 <p><b><a name="force">force</a>:</b></p>
947         
948 <div>Force generation/execution 
949
950 <p>Force the generation and (if configured) the execution of the
951 SQL, even if no modified or newly added annotated classes where
952 found and the configuration was not changed.</p>
953
954 <p><tt>skip</tt> takes precedence over <tt>force</tt>.</p>
955
956 <p><b>Important:</b> This configuration value can only be
957 configured through the <tt>pom.xml</tt>, or by the definition
958 of a system-property, because it is not known by Hibernate nor JPA
959 and, hence, not picked up from their configuration!</p></div>
960         
961 <ul>
962           
963 <li><b>Type</b>: <tt>boolean</tt></li>
964           
965 <li><b>Since</b>: <tt>1.0</tt></li>
966           
967 <li><b>Required</b>: <tt>No</tt></li>
968           
969 <li><b>User Property</b>: <tt>hibernate.schema.force</tt></li>
970           
971 <li><b>Default</b>: <tt>false</tt></li>
972         </ul><hr />
973 <p><b><a name="format">format</a>:</b></p>
974         
975 <div>Format output-file.</div>
976         
977 <ul>
978           
979 <li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
980           
981 <li><b>Since</b>: <tt>1.0</tt></li>
982           
983 <li><b>Required</b>: <tt>No</tt></li>
984           
985 <li><b>User Property</b>: <tt>hibernate.format_sql</tt></li>
986         </ul><hr />
987 <p><b><a name="hibernateConfig">hibernateConfig</a>:</b></p>
988         
989 <div>Path to Hibernate configuration file (.cfg.xml). If this parameter
990 is specified, the plugin will try to load configuration values from
991 a file with the given path or a ressource on the classpath with the
992 given name. If both fails, the execution of the plugin will fail. 
993
994 <p>If this parameter is not set the plugin will load configuration
995 values from a ressource named <tt>hibernate.cfg.xml</tt> on the
996 classpath, if it is present, but will not fail if there is no such
997 ressource.</p>
998
999 <p>During ressource-lookup, the test-classpath takes
1000 precedence.</p>
1001
1002 <p>Settings in this file will overwrite settings in the properties
1003 file.</p></div>
1004         
1005 <ul>
1006           
1007 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1008           
1009 <li><b>Since</b>: <tt>1.1.0</tt></li>
1010           
1011 <li><b>Required</b>: <tt>No</tt></li>
1012         </ul><hr />
1013 <p><b><a name="hibernateProperties">hibernateProperties</a>:</b></p>
1014         
1015 <div>Path to a file or name of a ressource with hibernate properties. If
1016 this parameter is specified, the plugin will try to load
1017 configuration values from a file with the given path or a ressource
1018 on the classpath with the given name. If both fails, the execution
1019 of the plugin will fail. 
1020
1021 <p>If this parameter is not set the plugin will load configuration
1022 values from a ressource named <tt>hibernate.properties</tt> on
1023 the classpath, if it is present, but will not fail if there is no
1024 such ressource.</p>
1025
1026 <p>During ressource-lookup, the test-classpath takes
1027 precedence.</p></div>
1028         
1029 <ul>
1030           
1031 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1032           
1033 <li><b>Since</b>: <tt>1.0</tt></li>
1034           
1035 <li><b>Required</b>: <tt>No</tt></li>
1036         </ul><hr />
1037 <p><b><a name="implicitNamingStrategy">implicitNamingStrategy</a>:</b></p>
1038         
1039 <div>Implicit naming strategy</div>
1040         
1041 <ul>
1042           
1043 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1044           
1045 <li><b>Since</b>: <tt>2.0</tt></li>
1046           
1047 <li><b>Required</b>: <tt>No</tt></li>
1048           
1049 <li><b>User Property</b>: <tt>hibernate.implicit_naming_strategy</tt></li>
1050         </ul><hr />
1051 <p><b><a name="mappings">mappings</a>:</b></p>
1052         
1053 <div>List of Hibernate-Mapping-Files (XML). Multiple files can be
1054 separated with white-spaces and/or commas.</div>
1055         
1056 <ul>
1057           
1058 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1059           
1060 <li><b>Since</b>: <tt>1.0.2</tt></li>
1061           
1062 <li><b>Required</b>: <tt>No</tt></li>
1063           
1064 <li><b>User Property</b>: <tt>hibernate.mapping</tt></li>
1065         </ul><hr />
1066 <p><b><a name="outputDirectory">outputDirectory</a>:</b></p>
1067         
1068 <div>Classes-Directory to scan. 
1069
1070 <p>This parameter defaults to the maven build-output-directory for
1071 classes. Additionally, all dependencies are scanned for annotated
1072 classes.</p>
1073
1074 <p><b>Important:</b> This configuration value can only be
1075 configured through the <tt>pom.xml</tt>, or by the definition
1076 of a system-property, because it is not known by Hibernate nor JPA
1077 and, hence, not picked up from their configuration!</p></div>
1078         
1079 <ul>
1080           
1081 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1082           
1083 <li><b>Since</b>: <tt>1.0</tt></li>
1084           
1085 <li><b>Required</b>: <tt>No</tt></li>
1086           
1087 <li><b>User Property</b>: <tt>project.build.outputDirectory</tt></li>
1088         </ul><hr />
1089 <p><b><a name="outputFile">outputFile</a>:</b></p>
1090         
1091 <div>Output file. 
1092
1093 <p>If the specified filename is not absolut, the file will be
1094 created relative to the project build directory
1095 (<tt>project.build.directory</tt>).</p></div>
1096         
1097 <ul>
1098           
1099 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1100           
1101 <li><b>Since</b>: <tt>1.0</tt></li>
1102           
1103 <li><b>Required</b>: <tt>No</tt></li>
1104           
1105 <li><b>User Property</b>: <tt>hibernate.schema.create</tt></li>
1106           
1107 <li><b>Default</b>: <tt>create.sql</tt></li>
1108         </ul><hr />
1109 <p><b><a name="password">password</a>:</b></p>
1110         
1111 <div>Database password</div>
1112         
1113 <ul>
1114           
1115 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1116           
1117 <li><b>Since</b>: <tt>1.0</tt></li>
1118           
1119 <li><b>Required</b>: <tt>No</tt></li>
1120           
1121 <li><b>User Property</b>: <tt>hibernate.connection.password</tt></li>
1122         </ul><hr />
1123 <p><b><a name="persistenceUnit">persistenceUnit</a>:</b></p>
1124         
1125 <div>Name of the persistence-unit. If this parameter is specified, the
1126 plugin will try to load configuration values from a
1127 persistence-unit with the specified name. If no such
1128 persistence-unit can be found, the plugin will throw an exception. 
1129
1130 <p>If this parameter is not set and there is only one
1131 persistence-unit available, that unit will be used automatically.
1132 But if this parameter is not set and there are multiple
1133 persistence-units available on, the class-path, the execution of
1134 the plugin will fail.</p>
1135
1136 <p>Settings in this file will overwrite settings in the properties
1137 or the configuration file.</p></div>
1138         
1139 <ul>
1140           
1141 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1142           
1143 <li><b>Since</b>: <tt>1.1.0</tt></li>
1144           
1145 <li><b>Required</b>: <tt>No</tt></li>
1146         </ul><hr />
1147 <p><b><a name="physicalNamingStrategy">physicalNamingStrategy</a>:</b></p>
1148         
1149 <div>Physical naming strategy</div>
1150         
1151 <ul>
1152           
1153 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1154           
1155 <li><b>Since</b>: <tt>2.0</tt></li>
1156           
1157 <li><b>Required</b>: <tt>No</tt></li>
1158           
1159 <li><b>User Property</b>: <tt>hibernate.physical_naming_strategy</tt></li>
1160         </ul><hr />
1161 <p><b><a name="scanClasses">scanClasses</a>:</b></p>
1162         
1163 <div>Wether the project should be scanned for annotated-classes, or not 
1164
1165 <p>This parameter is intended to allow overwriting of the parameter
1166 <tt>exclude-unlisted-classes</tt> of a
1167 <tt>persistence-unit</tt>. If not specified, it defaults to
1168 <tt>true</tt></p></div>
1169         
1170 <ul>
1171           
1172 <li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
1173           
1174 <li><b>Since</b>: <tt>2.0</tt></li>
1175           
1176 <li><b>Required</b>: <tt>No</tt></li>
1177           
1178 <li><b>User Property</b>: <tt>hibernate.schema.scan.classes</tt></li>
1179         </ul><hr />
1180 <p><b><a name="scanDependencies">scanDependencies</a>:</b></p>
1181         
1182 <div>Dependency-Scopes, that should be scanned for annotated classes. 
1183
1184 <p>By default, only dependencies in the scope <tt>compile</tt>
1185 are scanned for annotated classes. Multiple scopes can be seperated
1186 by white space or commas.</p>
1187
1188 <p>If you do not want any dependencies to be scanned for annotated
1189 classes, set this parameter to <tt>none</tt>.</p>
1190
1191 <p>The plugin does not scan for annotated classes in transitive
1192 dependencies. If some of your annotated classes are hidden in a
1193 transitive dependency, you can simply add that dependency
1194 explicitly.</p></div>
1195         
1196 <ul>
1197           
1198 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1199           
1200 <li><b>Since</b>: <tt>1.0.3</tt></li>
1201           
1202 <li><b>Required</b>: <tt>No</tt></li>
1203           
1204 <li><b>User Property</b>: <tt>hibernate.schema.scan.dependencies</tt></li>
1205           
1206 <li><b>Default</b>: <tt>compile</tt></li>
1207         </ul><hr />
1208 <p><b><a name="scanTestClasses">scanTestClasses</a>:</b></p>
1209         
1210 <div>Whether to scan the test-branch of the project for annotated
1211 classes, or not. 
1212
1213 <p>If this parameter is set to <tt>true</tt> the test-classes
1214 of the artifact will be scanned for hibernate-annotated classes
1215 additionally.</p>
1216
1217 <p><b>Important:</b> This configuration value can only be
1218 configured through the <tt>pom.xml</tt>, or by the definition
1219 of a system-property, because it is not known by Hibernate nor JPA
1220 and, hence, not picked up from their configuration!</p></div>
1221         
1222 <ul>
1223           
1224 <li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
1225           
1226 <li><b>Since</b>: <tt>1.0.1</tt></li>
1227           
1228 <li><b>Required</b>: <tt>No</tt></li>
1229           
1230 <li><b>User Property</b>: <tt>hibernate.schema.scan.test_classes</tt></li>
1231           
1232 <li><b>Default</b>: <tt>false</tt></li>
1233         </ul><hr />
1234 <p><b><a name="show">show</a>:</b></p>
1235         
1236 <div>Show the generated SQL in the command-line output.</div>
1237         
1238 <ul>
1239           
1240 <li><b>Type</b>: <tt>java.lang.Boolean</tt></li>
1241           
1242 <li><b>Since</b>: <tt>1.0</tt></li>
1243           
1244 <li><b>Required</b>: <tt>No</tt></li>
1245           
1246 <li><b>User Property</b>: <tt>hibernate.show_sql</tt></li>
1247         </ul><hr />
1248 <p><b><a name="skip">skip</a>:</b></p>
1249         
1250 <div>Skip execution 
1251
1252 <p>If set to <tt>true</tt>, the execution is skipped.</p>
1253
1254 <p>A skipped execution is signaled via the maven-property
1255 <tt>${hibernate.schema.skipped}</tt>.</p>
1256
1257 <p>The execution is skipped automatically, if no modified or newly
1258 added annotated classes are found and the dialect was not
1259 changed.</p>
1260
1261 <p><b>Important:</b> This configuration value can only be
1262 configured through the <tt>pom.xml</tt>, or by the definition
1263 of a system-property, because it is not known by Hibernate nor JPA
1264 and, hence, not picked up from their configuration!</p></div>
1265         
1266 <ul>
1267           
1268 <li><b>Type</b>: <tt>boolean</tt></li>
1269           
1270 <li><b>Since</b>: <tt>1.0</tt></li>
1271           
1272 <li><b>Required</b>: <tt>No</tt></li>
1273           
1274 <li><b>User Property</b>: <tt>hibernate.schema.skip</tt></li>
1275           
1276 <li><b>Default</b>: <tt>${maven.test.skip}</tt></li>
1277         </ul><hr />
1278 <p><b><a name="testOutputDirectory">testOutputDirectory</a>:</b></p>
1279         
1280 <div>Test-Classes-Directory to scan. 
1281
1282 <p>This parameter defaults to the maven build-output-directory for
1283 test-classes.</p>
1284
1285 <p>This parameter is only used, when <tt>scanTestClasses</tt>
1286 is set to <tt>true</tt>!</p>
1287
1288 <p><b>Important:</b> This configuration value can only be
1289 configured through the <tt>pom.xml</tt>, or by the definition
1290 of a system-property, because it is not known by Hibernate nor JPA
1291 and, hence, not picked up from their configuration!</p></div>
1292         
1293 <ul>
1294           
1295 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1296           
1297 <li><b>Since</b>: <tt>1.0.2</tt></li>
1298           
1299 <li><b>Required</b>: <tt>No</tt></li>
1300           
1301 <li><b>User Property</b>: <tt>project.build.testOutputDirectory</tt></li>
1302         </ul><hr />
1303 <p><b><a name="url">url</a>:</b></p>
1304         
1305 <div>Database URL.</div>
1306         
1307 <ul>
1308           
1309 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1310           
1311 <li><b>Since</b>: <tt>1.0</tt></li>
1312           
1313 <li><b>Required</b>: <tt>No</tt></li>
1314           
1315 <li><b>User Property</b>: <tt>hibernate.connection.url</tt></li>
1316         </ul><hr />
1317 <p><b><a name="username">username</a>:</b></p>
1318         
1319 <div>Database username</div>
1320         
1321 <ul>
1322           
1323 <li><b>Type</b>: <tt>java.lang.String</tt></li>
1324           
1325 <li><b>Since</b>: <tt>1.0</tt></li>
1326           
1327 <li><b>Required</b>: <tt>No</tt></li>
1328           
1329 <li><b>User Property</b>: <tt>hibernate.connection.username</tt></li>
1330         </ul>
1331       </div>
1332     </div>
1333   
1334
1335     </article>
1336     <hr />
1337     <h2>Pages</h2>
1338     <p>
1339       <ul>
1340         <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="cpd.html">CPD</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="create-mojo.html">Goal: CREATE</a></li><li><a href="drop-mojo.html">Goal: DROP</a></li><li><a href="debugging.html">Enable Debugging-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>
1341     </p>
1342   </body>
1343 </html>