Resources not found from bundles without wiring to org.osgi.framework #1227
What version of Flyway are you using?
What did you do?
There are three bundles - flyway, "migration service provider" and "migration service consumer"
migration service provider - provides a service to migrate schema
migration service consumer - has migration resources and consumes service via OSGI blueprints to migrate itself. Note here that migration service consumer doesn't have any wiring to org.osgi.framework.
When flyway tries to find out if OSGI framework available or not, it checks for org.osgi.framework.Bundle class to be available in migration service consumer classloader, which is not available.
It would make much more sense to check if the class available in flyway's classloader.
What did you expect to see?
resources scanned properly
What did you see instead?
DEBUG - 09:52:10,126 - ywaydb.core.internal.util.scanner.classpath.ClassPathScanner - [rdbms-schema-task-0] - Scanning URL: bundle://55.0:1/db/migration
The text was updated successfully, but these errors were encountered: