I have this error but I cannot found any information about this:
2022-09-20 09:48:36,035 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.IllegalStateException: 'org.flywaydb.core.internal.scanner.Scanner' is never used in Quarkus
at org.flywaydb.core.internal.scanner.Scanner.<init>(Scanner.java:27)
at org.flywaydb.core.FlywayExecutor.createResourceAndClassProviders(FlywayExecutor.java:252)
at org.flywaydb.core.FlywayExecutor.execute(FlywayExecutor.java:135)
at org.flywaydb.core.Flyway.migrate(Flyway.java:124)
I'm pretty sure that the sql migration files are included with the compilation with the parameter "quarkus.native.resources.includes=db/migration/**".
Somebody have an idea that what is happening?
Versions:
Version info: 'GraalVM 22.1.0 Java 11 CE'
Quarkus 2.10.1
Compilation with maven:
mvn clean package -Dnative
I had testing also with versions of Quarkus 2.12.2.Final and 2.13.0.CR1 with the same results.