spring-boot/spring-boot-autoconfigure
Stephane Nicoll 9100897dcb Automatically exclude auto-configurations from component scan
Previously, if an auto-configuration class was (wrongly) located in a
candidate package for component scanning, the class was silently loaded
as an app configuration (i.e. with the wrong lifecycle).

This commit adds an `AutoConfigurationExcludeFilter` to
`@SpringBootApplication` so that such classes are automatically
filtered. Since they are registered in `spring.factories`, we can
silently ignore them since we know they'll be loaded later on.

Closes gh-7168
2016-10-31 15:13:58 +01:00
..
src Automatically exclude auto-configurations from component scan 2016-10-31 15:13:58 +01:00
pom.xml Remove support for Velocity following its deprecation in 1.4 2016-09-29 15:44:36 +01:00