X-Git-Url: http://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fsite%2Fapt%2Fpitfalls.apt;h=355e369ecdc73040d68c921aa8deae7f51495049;hp=33c40cfafb88cc43acf9422eb05ce85b2d2ce563;hb=734356ab74d2896ec8d7530af0d2fa60ff58001f;hpb=84e8517be79d88d7e2bec2688a8f965f591394bf diff --git a/src/site/apt/pitfalls.apt b/src/site/apt/pitfalls.apt index 33c40cfa..355e369e 100644 --- a/src/site/apt/pitfalls.apt +++ b/src/site/apt/pitfalls.apt @@ -4,6 +4,15 @@ Kai Moritz --- +Annotated classes in dependencies are not found. + + hibernate4-maven-plugin by default scans dependencies in the scope + compile. You can configure it to scan dependencies in other + scopes as well. But it scans only direct dependencies. Transitive + dependencies are not scanned for annotated classes. If some of your + annotated classes are hidden in a transitive dependency, you can simply + add that dependency explicitly. + hibernate4-maven-plugin always needs a database-connection The default-configuration uses the EXPORT-target of the SchemaExport-Tool.