X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fsite%2Fxhtml%2Fdebugging.xhtml;fp=src%2Fsite%2Fxhtml%2Fdebugging.xhtml;h=8f91f3f9154b030a65172cea5a7fc30f23746456;hp=0000000000000000000000000000000000000000;hb=64900890db2575b7a28790c5e4d5f45083ee94b3;hpb=bd78c276663790bf7a3f121db85a0d62c64ce38c diff --git a/src/site/xhtml/debugging.xhtml b/src/site/xhtml/debugging.xhtml new file mode 100644 index 00000000..8f91f3f9 --- /dev/null +++ b/src/site/xhtml/debugging.xhtml @@ -0,0 +1,30 @@ + + +
+ + + +
+ If you are new to hibernate4-maven-plugin
, in many cases, the
+ {Configuration-Method-Precedence} may be the source of configuration
+ errors.
+ To solve this problem, you should run maven with the debugging output
+ enabled.
+ For example, by executing:
+
+mvn -X compile hibernate4:export+
+ (The compile
might be necessary, because hibernate4-maven-plugin
+ has to scan the compiled classes for annotations!)
+
+ Unlike the majority of the maven-plugins, hibernate4-maven-plugin
was
+ designed to give a good many hints, when debugging is enabled.
+ Because, if you do not know, what went wrong, you can't fix it!
+
+ But be warned: hibernate4-maven-plugin
tends to be very chatty ;)
+