kartverket / regelrett

Spire: Kartverket kontrollere
0 stars 2 forks source link

Trying build with shadowJar #221

Closed larsore closed 2 months ago

larsore commented 2 months ago

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