X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fsite%2Fxhtml%2Fpitfalls.xhtml;h=a29abba090e06d334316a8213145b17516bfdda1;hb=f286f6e2e7b2ef518853320e5438c06c2f681a53;hp=90e09241b60291774dbe854ae30483c86bb1b584;hpb=473c3ef285c19e0f0b85643b67bbd77e06c0b926;p=hibernate4-maven-plugin diff --git a/src/site/xhtml/pitfalls.xhtml b/src/site/xhtml/pitfalls.xhtml index 90e09241..a29abba0 100644 --- a/src/site/xhtml/pitfalls.xhtml +++ b/src/site/xhtml/pitfalls.xhtml @@ -4,6 +4,7 @@ +

Known Pitfalls (FAQ)

Annotated classes in dependencies are not found.

hibernate4-maven-plugin by default scans dependencies in the scope @@ -179,5 +180,18 @@ mvn hibernate4:export -Dhibernate.export.force=true <scanDependencies>none</scanDependencies> </configuration> </plugin> +

No annotated classes found

+

+ If you are working under Windows and get the error-message + No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes, + but you are really sure, that there are annotated classes in that + directory, you are expiriencing a bug, in the scannotation-library, that + was closed in version 1.1.0 of the hibernate-maven-plugin. +

+

+ + You should consider to upgrade to that version of the plugin. + +