Fix dependencies#46240
Conversation
Both `IntegrationDataSourceScriptDatabaseInitializer` and `QuartzDataSourceScriptDatabaseInitializer` extend `DataSourceScriptDatabaseInitializer` from `spring-boot-jdbc` which should be required dependency. Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
|
Thanks for spotting the potential problems here, @quaff, but the proposed changes are moving things in the wrong direction. The auto-configuration of Given this, the implementation dependency on The auto-configuration of |
|
@wilkinsona What about |
|
No, I don't think so. Boot's auto-configuration for Spring Batch requires JDBC as it always sets up the JDBC-based job store. As such, a required dependency on |
Spring Batch supports to set up the MongoDB-based job store now, see spring-projects/spring-batch#877 |
|
We're aware of that but it doesn't affect the accuracy of what I said about Boot's auto-configuration for Batch. As and when we add auto-configuration for the MongoDB-based store, this situation will change. |
Both
IntegrationDataSourceScriptDatabaseInitializerandQuartzDataSourceScriptDatabaseInitializerextendDataSourceScriptDatabaseInitializerfromspring-boot-jdbcwhich should be required dependency.