Reworked project-documentation: moved to maven-thymeleaf-skin
[hibernate4-maven-plugin] / src / site / xhtml / debugging.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3  <head>
4  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5  </head>
6  <body>
7   <header><h1>Enable Debugging-Output</h1></header>
8   <p>
9   If you are new to <code>hibernate-maven-plugin</code>, in many cases, the
10   <a href="./configuration.html#precedence">Configuration-Method-Precedence</a>
11   may be the source of configuration errors.
12   To solve this problem, you should run maven with the debugging output
13   enabled.
14   For example, by executing:
15   </p>
16   <pre class="prettyprint linenums lang-html">
17 mvn -X compile hibernate:create</pre>
18   <p>
19   (The <code>compile</code> might be necessary, because <code>hibernate-maven-plugin</code>
20   has to scan the compiled classes for annotations!)
21   </p>
22   <p>
23   Unlike the majority of the maven-plugins, <code>hibernate-maven-plugin</code> was
24   designed to give a good many hints, when debugging is enabled.
25   Because, if you do not know, what went wrong, you can't fix it!
26   </p>
27   <p>
28   <strong>But be warned:</strong> <code>hibernate-maven-plugin</code> tends to be very chatty ;)
29   </p>
30  </body>
31 </html>