以下のエラーが出た。
ERROR: Unable to scan for SQL migrations in location: classpath: xxxx/xxxx/xxxxx
confファイルのsqlディレクトリへのパスが認識できないみたい。
結論から言うと、confのパス指定が間違っていた。
以下はconfの説明文を抜粋。
Locations starting with filesystem: point to a directory on the filesystem and may only contain sql migrations.
パス指定は「filesystem:」から始めるらしい。
以下のように設定すると動くようになりました。
flyway.locations=filesystem:/xxxx/xxxx/xxxx
ちゃんと説明読まないとダメだな・・・。