From: Kai Moritz Date: Thu, 16 Jan 2014 17:23:12 +0000 (+0100) Subject: Improved documentation of the dependency-scanning on the pitfalls-page X-Git-Tag: hibernate4-maven-plugin-1.0.4~16 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=734356ab74d2896ec8d7530af0d2fa60ff58001f;p=hibernate-maven-plugin Improved documentation of the dependency-scanning on the pitfalls-page --- 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