Fixed the configuration of the it hmp-testclasses-annotationscanning
authorKai Moritz <kai@juplo.de>
Tue, 7 Feb 2017 12:40:26 +0000 (13:40 +0100)
committerKai Moritz <kai@juplo.de>
Tue, 7 Feb 2017 12:40:38 +0000 (13:40 +0100)
src/it/hmp-testclasses-annotationscanning/pom.xml

index 32461a6..0cbafd1 100644 (file)
                                <version>@project.version@</version>\r
                                <executions>\r
                                        <execution>\r
+                                               <id>Create Drop-Schema</id>\r
                                                <phase>test-compile</phase>\r
                                                <goals>\r
                                                        <goal>drop</goal>\r
+                                               </goals>\r
+                                               <configuration>\r
+                                                       <outputFile>db-schema/drop-schema.ddl</outputFile>\r
+                                               </configuration>\r
+                                       </execution>\r
+                                       <execution>\r
+                                               <id>Create Create-Schema</id>\r
+                                               <phase>test-compile</phase>\r
+                                               <goals>\r
                                                        <goal>create</goal>\r
                                                </goals>\r
+                                               <configuration>\r
+                                                       <outputFile>db-schema/create-schema.ddl</outputFile>\r
+                                               </configuration>\r
                                        </execution>\r
                                </executions>\r
                                <configuration>\r
                                    <password>sa</password>\r
 \r
                                        <!-- Other Properties -->\r
-                                       <force>true</force>  <!-- needed, otherwise test:create skips script-execution -->\r
-                                       <outputFile>db-schema/create-schema.ddl</outputFile>\r
                                        <format>true</format>\r
                                        <scanTestClasses>true</scanTestClasses>\r
                                </configuration>\r