Migration scripts are not picked up correctly when starting the application only from the jar. Flyway has an issue on it, and several others experience the same issue
Solution
According to the issue, a fix is to include the shadowJar-plugin and configure it with mergeServiceFiles() task. I do not know the details of the solution, but it's worth a shot.
Background
Migration scripts are not picked up correctly when starting the application only from the jar. Flyway has an issue on it, and several others experience the same issue
Solution
According to the issue, a fix is to include the shadowJar-plugin and configure it with
mergeServiceFiles()
task. I do not know the details of the solution, but it's worth a shot.Resolves #issue-this-pr-resolves