mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-19 10:08:22 +08:00

Previously, if one invokes the service asking for dependency `foo` and `foo` does not exist we created a starter for it, that is `spring-boot-starter-foo`. This mechanism was put in place because we don't know all starters and to offer a nice fallback for users who know what they're doing. That statement proved to be wrong since users actually discover new starters via the service and don't seem to attempt to create such starter that are located in the `org.springframework.boot` groupId anyway. Most if not all of those are pilot errors. This commit enables strict validation of dependencies and generate an appropriate exception if it isn't defined in the meta-data. Closes gh-234