X-Git-Url: http://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fsite%2Fapt%2Fpitfalls.apt;h=355e369ecdc73040d68c921aa8deae7f51495049;hp=a25abcd747c247040c03b46f829f8676bebe9ffd;hb=734356ab74d2896ec8d7530af0d2fa60ff58001f;hpb=f2955fc974239cbb266922c04e8e11101d7e9dd9 diff --git a/src/site/apt/pitfalls.apt b/src/site/apt/pitfalls.apt index a25abcd7..355e369e 100644 --- a/src/site/apt/pitfalls.apt +++ b/src/site/apt/pitfalls.apt @@ -6,9 +6,12 @@ Annotated classes in dependencies are not found. - hibernate4-maven-plugin does not scan transitive dependencies 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 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