Skip to content

Move away from spring.factories for auto-configurations #29872

@mhalbritter

Description

@mhalbritter

Using spring.factories to find auto-configuration classes is causing problems with our native work. We initially used it because the code was already available, but we want to offer an alternative in 2.7 and stop using spring.factories for auto-configuration in 3.0.

Task:

  • Design and document a file format that can replace spring.factories for auto-configuration
  • Update the AutoConfigurationImportSelector and the ImportAutoConfigurationImportSelector to not use spring.factories anymore
  • Update documentation tooling in buildSrc to read the new file
  • Check with existing IDE and tool vendors to ensure the new format doesn't cause issues

Metadata

Metadata

Assignees

Labels

status: noteworthyA noteworthy issue to call out in the release notestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions