You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Flyway didn't work using the new fast-jar functionality.
When using the following config property
quarkus.package.type=fast-jar
Flyway generates a WARNING :
WARN [org.fly.cor.int.sca.cla.ClassPathScanner] (main) Unable to resolve location classpath:db/migration. Note this warning will become an error in Flyway 7.
Expected behavior
As with the normal Quarkus runner JAR, Flyway should find and execute the migration scripts.
Actual behavior
Flyway didn't find the migration files inside the classpath.
They are located inside src/main/resources/db/migration.
WARN [org.fly.cor.int.sca.cla.ClassPathScanner] (main) Unable to resolve location classpath:db/migration. Note this warning will become an error in Flyway 7.
Configuration
# Add your application.properties here, if applicable.quarkus.package.type=fast-jar
Environment (please complete the following information):
Output of uname -a or ver: Linux 5.4.0-29-generic testing #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version: openjdk version "11.0.5" 2019-10-15
Quarkus version or git rev: 1.5.0.CR1
Build tool (ie. output of mvnw --version or gradlew --version):Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
The text was updated successfully, but these errors were encountered:
Describe the bug
Flyway didn't work using the new fast-jar functionality.
When using the following config property
Flyway generates a WARNING :
Expected behavior
As with the normal Quarkus runner JAR, Flyway should find and execute the migration scripts.
Actual behavior
Flyway didn't find the migration files inside the classpath.
They are located inside
src/main/resources/db/migration
.Configuration
Environment (please complete the following information):
uname -a
orver
: Linux 5.4.0-29-generic testing #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxjava -version
: openjdk version "11.0.5" 2019-10-15mvnw --version
orgradlew --version
):Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)The text was updated successfully, but these errors were encountered: