Switched to maven-thymeleaf-skin 1.0.0
[hibernate4-maven-plugin] / src / site / xhtml / pitfalls.xhtml
index 90e0924..a29abba 100644 (file)
@@ -4,6 +4,7 @@
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  </head>
  <body>
+  <header><h1>Known Pitfalls (FAQ)</h1></header>
   <h2>Annotated classes in dependencies are not found.</h2>
   <p>
   hibernate4-maven-plugin by default scans dependencies in the scope
@@ -179,5 +180,18 @@ mvn hibernate4:export -Dhibernate.export.force=true</pre>
     &lt;scanDependencies&gt;none&lt;/scanDependencies&gt;
   &lt;/configuration&gt;
 &lt;/plugin&gt;</pre>
+  <h2>No annotated classes found</h2>
+  <p>
+    If you are working under Windows and get the error-message
+    <code>No annotated classes found in directory C:\projects\X Y Z\path-to-project\target\classes</code>,
+    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.
+  </p>
+  <p>
+    <strong>
+      You should consider to upgrade to that version of the plugin.
+    </strong>
+  </p>
  </body>
 </html>