From 298c7a2b0c0552973ce018cb313de6bab60b2fc2 Mon Sep 17 00:00:00 2001
From: Kai Moritz
+ If you specify two goals, for example drop
and
+ create
, each goal has to be specified in its own
+ execution
, 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.
+
+ Example configuration for two goals: +
++<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>