-
Notifications
You must be signed in to change notification settings - Fork 41.1k
spring.profiles.include overrides other profiles being activate #25712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If you set |
I read about it, but I would like to avoid it since it could be dropped. |
I'm actually quite surprised that Can you describe your setup a little more? What's the purpose of the |
@philwebb |
@cdprete If I understand you correctly, you want to run an app on a developer machine without any profiles active and get |
@philwebb you got the point for the DEV setup and, to answer to your question, yes we do enable other profiles in production (not |
Apologies for letting this one slip though the net. Since the issue is a few years old, I assume you've found some other way of fixing it. I've opened #42066 to investigate a general purpose solution for developer specific profile/settings. |
Hi.
I don't work anymore for the company where I spotted this issue, so I can't
say if a workout was found in the meantime.
Il ven 30 ago 2024, 19:43 Phil Webb ***@***.***> ha scritto:
… Apologies for letting this one slip though the net. Since the issue is a
few years old, I assume you've found some other way of fixing it. I've
opened #42066
<#42066> to
investigate a general purpose solution for developer specific
profile/settings.
—
Reply to this email directly, view it on GitHub
<#25712 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAZGWARJXQIWF7RZMJJNB3ZUCVKRAVCNFSM6AAAAABNM4QAYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSGA2DQMRVGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi.
In my Spring Boot 2.4.3 application I've the following YAML configuration in the
application.yml
file:As a result, I now get just the
native
profile as being activated.This was not the case with Spring Boot 2.1.2 where I had:
application.yml
file:application-default.yml
file:and, as a result, all of them where activated.
Is there a way to get the old behaviour back?
The text was updated successfully, but these errors were encountered: