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
Summary:
Change in profile order - introduced in 2.0.2 - means it is no longer possible to override include profiles. Spring boot 2.0.1/.0 - profile includes are very useful for setting up shared behaviors in common libraries used by many spring boot apps. App developers can all rely on common settings from the includes - and then selectively override using their custom profiles and activating them (and overriding).
Suggestions on how to regain this with 2.0.2 would be very welcome.
Setup:
sts - new project. Add the following:
spring:
profiles:
active: d,e,f
include:
- a
- b
- c
Boot 2.0.1/.0 output:
14-05-2018 10:04:40.973 [restartedMain] INFO (SpringApplication.java:663) o.springframework.boot.SpringApplication.logStartupProfileInfo
==> The following profiles are active: a,b,c,d,e,f
Boot 2.0.2 output:
14-05-2018 10:01:44.711 [restartedMain] INFO (SpringApplication.java:663) o.springframework.boot.SpringApplication.logStartupProfileInfo
==> The following profiles are active: d,e,f,a,b,c
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Summary:
Change in profile order - introduced in 2.0.2 - means it is no longer possible to override include profiles. Spring boot 2.0.1/.0 - profile includes are very useful for setting up shared behaviors in common libraries used by many spring boot apps. App developers can all rely on common settings from the includes - and then selectively override using their custom profiles and activating them (and overriding).
Suggestions on how to regain this with 2.0.2 would be very welcome.
Setup:
Boot 2.0.1/.0 output:
Boot 2.0.2 output:
The text was updated successfully, but these errors were encountered: