
Previously, a custom Flyway bean named anything other than flyway could result in a NoSucBeanDefinitionException as the dependencies set up for JPA and JDBC components used the bean name flyway. This commit updates the configuration of the dependencies to depend on Flyway beans by name rather than type. Fixes gh-18102