Projekt-Dokumentation (Aktueller Stand von juplo.de) hinzugefĆ¼gt
[website] / dist / hibernate4-maven-plugin-1.1.1 / pitfalls.html
1 <!DOCTYPE html>
2 <!--/*-->
3 <!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-11-05 -->
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: pmd.html -->
220     
221     
222         
223     
224     
225   
226       
227   
228     
229                                                   
230     
231       <!-- NEW PAGE - - - - - uri: plugin-info.html -->
232     
233     
234     
235     
236                                   
237     
238       <!-- NEW PAGE - - - - - uri: project-reports.html -->
239     
240     
241     
242     
243     <!-- DONE WITH MENUE -  - $page.name-->
244             
245     
246     
247   
248       
249       
250     
251     
252   
253       
254   
255     
256                                   
257     
258       <!-- OVERWRITING PAGE - uri: index.html -->
259     
260     
261         
262     
263     
264   
265       
266   
267     
268                                   
269     
270       <!-- NEW PAGE - - - - - uri: configuration.html -->
271     
272     
273         
274     
275     
276   
277       
278   
279     
280                                   
281     
282       <!-- NEW PAGE - - - - - uri: export-mojo.html -->
283     
284     
285         
286     
287     
288   
289       
290   
291     
292                                   
293     
294       <!-- NEW PAGE - - - - - uri: debugging.html -->
295     
296     
297         
298     
299     
300   
301       
302   
303     
304                                   
305     
306       <!-- NEW PAGE - - - - - uri: skip.html -->
307     
308     
309         
310     
311     
312   
313       
314   
315     
316                                   
317     
318       <!-- NEW PAGE - - - - - uri: force.html -->
319     
320     
321         
322     
323     
324   
325       
326   
327     
328                                   
329     
330       <!-- NEW PAGE - - - - - uri: pitfalls.html -->
331     
332     
333         
334     
335     
336   
337       
338   
339     
340                                   
341     
342       <!-- OVERWRITING PAGE - uri: project-info.html -->
343     
344     
345         
346     
347     
348   
349       
350   
351     
352                                   
353     
354       <!-- OVERWRITING PAGE - uri: project-reports.html -->
355     
356     
357     
358     
359     <!-- DONE WITH MENUE -  - (no name)-->
360           
361         
362
363 <!-- name: Known Pitfalls (FAQ) -->
364 <!-- title: Hibernate 4 Maven Plugin &#x2013;  -->
365 <!-- short title:  -->
366 <!-- current page: pitfalls.html -->
367 <!-- path: /hibernate-maven-plugin/ -->
368 <!-- crumbs: {&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;} -->
369 <!-- pages: {integration.html={name=CI Management, uri=integration.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 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 4 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 4 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 4 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, export-mojo.html=Parameter Documentation, debugging.html=Enable Debug-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 4 Maven Plugin}, {uri=index.html, name=Overview}]}, license.html={name=Licenses, uri=license.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}, {uri=xref-test/index.html, name=Test Source Xref}]}, pmd.html={name=PMD, uri=pmd.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 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 4 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, pmd.html=PMD, plugin-info.html=Plugin Documentation}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=project-reports.html, name=Project Reports}]}, configuration.html={name=Configuration Examples, uri=configuration.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=configuration.html, name=Configuration Examples}]}, export-mojo.html={name=Parameter Documentation, uri=export-mojo.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=export-mojo.html, name=Parameter Documentation}]}, debugging.html={name=Enable Debug-Output, uri=debugging.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=debugging.html, name=Enable Debug-Output}]}, skip.html={name=Skipping Execution, uri=skip.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=skip.html, name=Skipping Execution}]}, force.html={name=Force Exceution, uri=force.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=force.html, name=Force Exceution}]}, pitfalls.html={name=Known Pitfalls (FAQ), uri=pitfalls.html, childs={}, crumbs=[{uri=index.html, name=Hibernate 4 Maven Plugin}, {uri=pitfalls.html, name=Known Pitfalls (FAQ)}]}} -->
370
371
372 <!--*/-->
373 <html
374     xmlns="http://www.w3.org/1999/xhtml"
375     xmlns:layout="http://www.thymeleaf.org"
376     layout:decorator="templates/layout"
377     th:with="
378       uri='/hibernate-maven-plugin/pitfalls.html',
379       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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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/export-mojo.html&quot;:&quot;Parameter Documentation&quot;,&quot;/hibernate-maven-plugin/debugging.html&quot;:&quot;Enable Debug-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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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/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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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/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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/configuration.html&quot;,&quot;name&quot;:&quot;Configuration Examples&quot;}]},&quot;/hibernate-maven-plugin/export-mojo.html&quot;:{&quot;name&quot;:&quot;Parameter Documentation&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/export-mojo.html&quot;,&quot;name&quot;:&quot;Parameter Documentation&quot;}]},&quot;/hibernate-maven-plugin/debugging.html&quot;:{&quot;name&quot;:&quot;Enable Debug-Output&quot;,&quot;crumbs&quot;:[{&quot;uri&quot;:&quot;/projects.html&quot;,&quot;name&quot;:&quot;Projects&quot;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/debugging.html&quot;,&quot;name&quot;:&quot;Enable Debug-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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 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;}#set( = ","){&quot;uri&quot;:&quot;/hibernate-maven-plugin/index.html&quot;,&quot;name&quot;:&quot;Hibernate 4 Maven Plugin&quot;},{&quot;uri&quot;:&quot;/hibernate-maven-plugin/pitfalls.html&quot;,&quot;name&quot;:&quot;Known Pitfalls (FAQ)&quot;}]}}}'
380       "
381     >
382   <head>
383     <title>Hibernate 4 Maven Plugin &mdash; Known Pitfalls (FAQ)</title>
384     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
385     <link rel="canonical" href="/hibernate-maven-plugin/pitfalls.html"/>
386   </head>
387   <body>
388     <h2>Path</h2>
389     <p>
390       <ol>
391         <li><a href="index.html">Hibernate 4 Maven Plugin</a></li><li><a href="pitfalls.html">Known Pitfalls (FAQ)</a></li>      </ol>
392     </p>
393     <hr />
394     <article class="main" layout:fragment="maincontent">
395       
396  
397  
398   
399 <h1>Known Pitfalls (FAQ)</h1>
400   
401 <div class="section">
402 <h2><a name="Annotated_classes_in_dependencies_are_not_found."></a>Annotated classes in dependencies are not found.</h2>
403   
404 <p>
405   hibernate4-maven-plugin by default scans dependencies in the scope
406   <tt>compile</tt>. You can configure it to scan dependencies in other
407   scopes as well. But it scans only direct dependencies. Transitive
408   dependencies are not scanned for annotated classes. If some of your
409   annotated classes are hidden in a transitive dependency, you can simply
410   add that dependency explicitly.
411   </p>
412   </div>
413 <div class="section">
414 <h2><a name="hibernate4-maven-plugin_always_needs_a_database-connection"></a>hibernate4-maven-plugin always needs a database-connection</h2>
415   
416 <p>
417   The default-configuration uses the EXPORT-target of the SchemaExport-Tool.
418   If you do not need to create a database with the evaluated schema, you can
419   use the NONE- or the SCRIPT-target.
420   This can be achieved with the command-line parameter
421   <tt>-Dhibernate.export.target=SCRIPT</tt> or with the following configuration:
422   </p>
423   
424 <div>
425 <pre class="prettyprint linenums lang-html">
426 &lt;configuration&gt;
427   &lt;target&gt;SCRIPT&lt;/target&gt;
428 &lt;/configuration&gt;</pre></div>
429   
430 <p>
431   But even when no database is to be created, hibernate always needs to know
432   the dialect. Hence, the plugin will fail if this parameter is missing!
433   </p>
434   </div>
435 <div class="section">
436 <h2><a name="Dependency_for_driver-class_XYZ_is_missing"></a>Dependency for driver-class XYZ is missing</h2>
437   
438 <p>
439   One regular problem is the scope of the jdbc-driver-dependency.
440   It is very unlikely, that this dependency is needed at compile-time.
441   So a tidy maven-developer would usually scope it for <tt>runtime</tt>.
442   </p>
443   
444 <p>
445   But this will break the execution of the <tt>hibernate4-maven-plugin</tt>.
446   Since it will not be able to see the needed dependency, it will fail with
447   an error-message like:
448   </p>
449   
450 <div>
451 <pre class="prettyprint">
452 [INFO] Gathered hibernate-configuration (turn on debugging for details):
453 [INFO]   hibernate.connection.username = sa
454 [INFO]   hibernate.connection.password = 
455 [INFO]   hibernate.dialect = org.hibernate.dialect.HSQLDialect
456 [INFO]   hibernate.connection.url = jdbc:hsqldb:/home/kai/mmf/target/mmf;shutdown=true
457 [INFO]   hibernate.connection.driver_class = org.hsqldb.jdbcDriver
458 [ERROR] Dependency for driver-class org.hsqldb.jdbcDriver is missing!
459 [INFO] ------------------------------------------------------------------------
460 [ERROR] BUILD ERROR
461 [INFO] ------------------------------------------------------------------------
462 [INFO] org.hsqldb.jdbcDriver
463 [INFO] ------------------------------------------------------------------------
464 [INFO] For more information, run Maven with the -e switch
465 [INFO] ------------------------------------------------------------------------
466 [INFO] Total time: 2 seconds
467 [INFO] Finished at: Thu Nov 29 11:31:14 CET 2012
468 [INFO] Final Memory: 32M/342M
469 [INFO] ------------------------------------------------------------------------</pre></div>
470   
471 <p>
472   A quick workaround for this error would be, to delete the runtime-constraint
473   for the jdbc-driver-dependency.
474   </p>
475   
476 <p>
477   A much cleaner way is, to (additionally) ad the dependency, to the
478   plugin-definition:
479   </p>
480   
481 <div>
482 <pre class="prettyprint linenums lang-html">
483 &lt;plugin&gt;
484   &lt;groupId&gt;de.juplo&lt;/groupId&gt;
485   &lt;artifactId&gt;hibernate4-maven-plugin&lt;/artifactId&gt;
486   &lt;version&gt;1.1.1&lt;/version&gt;
487   &lt;executions&gt;
488     &lt;execution&gt;
489       &lt;goals&gt;
490         &lt;goal&gt;export&lt;/goal&gt;
491       &lt;/goals&gt;
492     &lt;/execution&gt;
493   &lt;/executions&gt;
494   &lt;dependencies&gt;
495   &lt;dependency&gt;
496     &lt;groupId&gt;org.hsqldb&lt;/groupId&gt;
497     &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
498     &lt;version&gt;2.2.8&lt;/version&gt;
499   &lt;/dependency&gt;
500   &lt;/dependencies&gt;
501 &lt;/plugin&gt;</pre></div>
502   
503 <p>
504   This is also the best way, if you use a different jdbc-driver for
505   testing, than in production.
506   Because otherwise, this dependency will unnecessarily bloat the
507   runtime-dependencies of your project.
508   </p>
509   </div>
510 <div class="section" id="fails">
511 <h2 id="fails">DBUnit fails after execution of hibernate4 was skipped because nothing has changed</h2>
512   
513 <p>
514   If hibernate4-maven-plugin skips its excecution, this may lead to errors in
515   other plugins.
516   For example, when importing sample-data in the automatically created database
517   with the help of the <a class="externalLink" href="http://mojo.codehaus.org/dbunit-maven-plugin/">dbunit-plugin</a>,
518   the <tt>CLEAN_INSERT</tt>-operation may fail because of foreign-key-constraints,
519   if the database was not recreated, because the hibernate4-maven-plugin has
520   skipped its excecution.
521   </p>
522   
523 <p>
524   A quick fix to this problem is, to <a href="./force.html">force</a>
525   hibernate4-maven-plugin to export the schema every time it is running.
526   But to recreate the database on every testrun may noticeable slow down your
527   development cycle, if you have to wait for slow IO.
528   </p>
529   
530 <p>
531   To circumvent this problem, hibernate4-maven-plugin signals a skipped
532   excecution by setting the  maven property <tt>$\{hibernate.export.skipped\}</tt> to
533   <tt>true</tt>.
534   You can configure other plugins to react on this signal.
535   For example, the dbunit-plugin can be configured to skip its excecution, if
536   hibernate4-maven-plugin was skipped like this:
537   </p>
538   
539 <div>
540 <pre class="prettyprint linenums lang-html">
541 &lt;plugin&gt;
542   &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
543   &lt;artifactId&gt;dbunit-maven-plugin&lt;/artifactId&gt;
544   &lt;configuration&gt;
545     &lt;skip&gt;${hibernate.export.skipped}&lt;/skip&gt;
546   &lt;/configuration&gt;
547 &lt;/plugin&gt;</pre></div>
548   </div>
549 <div class="section">
550 <h2><a name="The_database_will_not_be_recreated_after_a_manual_dropclean"></a>The database will not be recreated after a manual drop/clean</h2>
551   
552 <p>
553   If one manually drops the database or removes the hsqldb-files, it will not
554   be recreated by the hibernate4-maven-plugin, because it cannot detect, that
555   the database needs to be recreated.
556   This happens, because the plugin will not recreate the database if neither
557   the configuration nor the annotated classes have changed, because an
558   unnecessary drop-create-cycle might take a long time. The plugin will
559   report that like this:
560   </p>
561   
562 <div>
563 <pre class="prettyprint">
564 [INFO] No modified annotated classes found and dialect unchanged.
565 [INFO] Skipping schema generation!</pre></div>
566   
567 <p>
568   If one always uses <tt>mvn clean</tt> for cleanup, this will not happen.
569   Otherwise the recreation must be <a href="./force.html">forced</a>:
570   </p>
571   
572 <div>
573 <pre class="prettyprint">
574 mvn hibernate4:export -Dhibernate.export.force=true</pre></div>
575   </div>
576 <div class="section">
577 <h2><a name="The_hibernate4:export_goal_is_not_executed_when_tests_are_skipped"></a>The hibernate4:export goal is not executed, when tests are skipped</h2>
578   
579 <p>
580   The hibernate4-maven-plugin automatically skips its execution, when
581   <tt>maven.test.skip</tt> is set to <tt>true</tt>. If you need it to be always
582   executed, you can configure that explicitly like this:
583   </p>
584   
585 <div>
586 <pre class="prettyprint linenums lang-html">
587 &lt;plugin&gt;
588   &lt;groupId&gt;de.juplo&lt;/groupId&gt;
589   &lt;artifactId&gt;hibernate4-maven-plugin&lt;/artifactId&gt;
590   ...
591   &lt;configuration&gt;
592     &lt;skip&gt;false&lt;/skip&gt;
593   &lt;/configuration&gt;
594 &lt;/plugin&gt;</pre></div>
595   
596 <p>
597   Background-information for this design-decission can be found on the extra
598   page <a href="./skip.html">To skip or not to skip: that is the question</a>...
599   </p>
600   </div>
601 <div class="section">
602 <h2><a name="I_do_not_want_my_dependencies_to_be_scanned_for_hibernate_annotations"></a>I do not want my dependencies to be scanned for hibernate annotations</h2>
603   
604 <p>
605     If you do not want your dependencies to be scanned for hibernate annotations,
606     you can pass <tt>-Dhibernate.export.scan_dependencies=none</tt> to maven
607     or set <tt>scanDependencies</tt> to <tt>none</tt> in the configuration
608     of the plugin like this:
609   </p>
610   
611 <div>
612 <pre class="prettyprint linenums lang-html">
613 &lt;plugin&gt;
614   &lt;groupId&gt;de.juplo&lt;/groupId&gt;
615   &lt;artifactId&gt;hibernate4-maven-plugin&lt;/artifactId&gt;
616   ...
617   &lt;configuration&gt;
618     &lt;scanDependencies&gt;none&lt;/scanDependencies&gt;
619   &lt;/configuration&gt;
620 &lt;/plugin&gt;</pre></div>
621   </div>
622 <div class="section">
623 <h2><a name="No_annotated_classes_found"></a>No annotated classes found</h2>
624   
625 <p>
626     If you are working under Windows and get the error-message
627     <tt>No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes</tt>,
628     but you are really sure, that there are annotated classes in that
629     directory, you are expiriencing a bug, in the scannotation-library, that
630     was closed in version 1.1.0 of the hibernate-maven-plugin.
631   </p>
632   
633 <p>
634     <b>
635       You should consider to upgrade to that version of the plugin.
636     </b>
637   </p>
638  </div>
639
640     </article>
641     <hr />
642     <h2>Pages</h2>
643     <p>
644       <ul>
645         <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="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="export-mojo.html">Parameter Documentation</a></li><li><a href="debugging.html">Enable Debug-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>
646     </p>
647   </body>
648 </html>