You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a Boot starter where I have some JPA repositories in foo.jpa. I want to add auto-configuration in foo.jpa.autoconfigure, but the only way to get the repositories auto-configured with the usual Boot scanning is to use @AutoConfigurationPackage, and @AutoConfigurationPackage does not take any arguments.
Parallel with annotations such as @ComponentScan, @AutoConfigurationPackage should take basePackage and basePackageClasses arguments to specify a different root package(s) to be incorporated.