+ <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 the latest version of the plugin.
+ </strong>
+ </p>
+ <h2>If two goals are specified, the second one is always skipped</h2>
+ <p>
+ If you specify two goals, for example <code>drop</code> and
+ <code>create</code>, each goal has to be specified in its own
+ <code>execution</code>, so that you can specify two different
+ output-files for the two goals.
+ Otherwise, both goals will use the same output-file and the goal, that
+ is run second, will always skip, becaus it will find, that the output
+ file already exists and conclude, that its work was already done in a
+ prior run.
+ </p>
+ <p>
+ Example configuration for two goals:
+ </p>
+ <pre class="prettyprint linenums lang-html">
+<executions>
+ <execution>
+ <id>Create Drop-Schema</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>drop</goal>
+ </goals>
+ <configuration>
+ <outputFile>db-schema/drop-schema.ddl</outputFile>
+ </configuration>
+ </execution>
+ <execution>
+ <id>Create Create-Schema</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ <configuration>
+ <outputFile>db-schema/create-schema.ddl</outputFile>
+ </configuration>
+ </execution>
+</executions></pre>