X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fsite%2Fapt%2Fpitfalls.apt;h=0640e7fef205840668498157c8385c8d9e1d5542;hp=6c921b08b8c25b5486f2aad4c3c6d7fcbd21729b;hb=97a45d03e1144d30b90f2f566517be22aca39358;hpb=8022611f93ad6f86534ddf3568766f88acf863f3 diff --git a/src/site/apt/pitfalls.apt b/src/site/apt/pitfalls.apt index 6c921b08..0640e7fe 100644 --- a/src/site/apt/pitfalls.apt +++ b/src/site/apt/pitfalls.apt @@ -122,10 +122,11 @@ Known Pitfalls the configuration nor the annotated classes have changed, because an unnecessary drop-create-cycle might take a long time. The plugin will report that like this: + ------------- [INFO] No modified annotated classes found and dialect unchanged. [INFO] Skipping schema generation! -[------------ +------------- If one always uses <<>> for cleanup, this will not happen. Otherwise the recreation must be {{{./force.html}forced}}: @@ -133,3 +134,29 @@ Known Pitfalls ------------- mvn hibernate4:export -Dhibernate.export.force=true ------------- + +* The hibernate4:export goal is executed, even if <<>> is + <<>> + + Up to version 1.0.2 the hibernate4-maven-plugin automatically skipped + its execution, when <<>> was set to <<>>. Starting + with version 1.0.3 this behaviour was changed. The plugin now only skips + its execution, when explicitliy told so via the configuration-parameter + <<>> or via the property <<>>. + + This change was made, because in some use-cases it is necessary, that the + database-schema is always build and/or exported, even if the tests are + skipped, which was not possible with the old behaviour. + + If you need/like the old behaviour, you can turn it on in your configuration: + +------------ + + de.juplo + hibernate4-maven-plugin + ... + + ${maven.test.skip} + + +------------