I have a repeatable flyway sql migration script, that I want executed everytime flyway:migrate is called.
R__Always_Executed.sql:
/* Version: ${timestamp} <- changes on each execution */
...
I define the placeholder timestamp in pom.xml:
<properties>
<flyway.placeholders.timestamp>${maven.build.timestamp}</flyway.placeholders.timestamp>
</properties>
Each time I do
mvn clean install flyway:migrate
the timestamp changes, therefore the file contents and with it the checksum should be different. Hence the script should get executed. It does not, however.
Anyone any idea, why flyway doesn't consider the placeholder replacements when calculating the checksum?