Reworked documentation: splited and reorderd pages and menu
[hibernate4-maven-plugin] / src / site / apt / debugging.apt
1 Enabling Debug-Output
2
3   If you are new to <<<hibernate4-maven-plugin>>>, in many cases, the
4   {Configuration-Method-Precedence} may be the source of configuration
5   errors.
6   To solve this problem, you should run maven with the debugging output
7   enabled.
8   For example, by executing:
9
10 -------------
11 mvn -X compile hibernate4:export 
12 -------------
13
14   (The <<<compile>>> might be necessary, because <<<hibernate4-maven-plugin>>>
15   has to scan the compiled classes for annotations!)
16
17   Unlike the majority of the maven-plugins, <<<hibernate4-maven-plugin>>> was
18   designed to give a good many hints, when debugging is enabled.
19   Because, if you do not know, what went wrong, you can't fix it!
20
21   <<But be warned:>> <<<hibernate4-maven-plugin>>> tends to be very chatty ;)