While implementing @ConfigurationPropertiesScan in Spring Native (see spring-projects-experimental/spring-native#716), I figured out that @ConfigurationProperties is not annotated with @Indexed while configuration properties can be retrieved as a bean via ConfigurationPropertiesScanRegistrar or application code. This is similar to #26308 which was solved for tests.
Could you please annotate @ConfigurationProperties with @Indexed? I did the modification locally and can confirm that with this modification, @ConfigurationPropertiesScan works properly on native.
Comment From: sdeleuze
Thanks Andy!