Closed
Description
Although classified as regression and closed #13151 is still present.
Consider a application-e.yml
spring:
profiles:
include: dev
Starting the the application with
-Dspring.profiles.active=e
results in following console output in Spring Boot 2.0.2+:
The following profiles are active: e,dev
But I expect the right order to be
dev,e
because the current behaviour makes is virtually impossible to build up a profile hierarchy, as more specific profiles cannot overwrite properties of less specific profiles.
If current behaviour is not a bug, an explaination would be very helpful.
Thanks a lot.