Spring Profiles documentation.
At this link , where docs for latest 2.5.6 version are, there is no mention of spring.profiles.include
while at the link from a previous version, there is a reference to that.
Now I am not sure if this is a documentation issue, or this feature is deprecated? I believe it still works in our project so wondering why it's missing from docs?
Sorry if this is not an issue.
Comment From: wilkinsona
Config file processing was overhauled in 2.4, as described in the release notes. While spring.profiles.include
is still supported, it can no longer be used in a profile-specific configuration file. The migration guide that's linked to from the release notes provides some more information.
In short, profile groups are now preferred over spring.profiles.include
. That said, we may have de-emphasised spring.profiles.include
a little too much. It is still documented as a configuration property but that's it at the moment. I'll flag this for team attention so that we can discuss adding something to the section on adding active profiles.
Comment From: snicoll
Yeah, I think it makes sense to keep a reference to it, in particular with what the note in the migration guide states.